<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>60781</integer>
    </number>
    <user>
      <string>MacDome</string>
    </user>
    <title>
      <string>Add missing NULL check to match rest of file, this was found by the editing fuzzer.</string>
    </title>
    <contents>
      <string> WebKit/mac/WebView/WebResource.mm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


f1e9f7cf47d670d9709d1d693095ab914b5ff509
diff --git a/WebKit/mac/WebView/WebResource.mm b/WebKit/mac/WebView/WebResource.mm
index 6f43b88..5af650b 100644
--- a/WebKit/mac/WebView/WebResource.mm
+++ b/WebKit/mac/WebView/WebResource.mm
@@ -197,7 +197,9 @@ static NSString * const WebResourceResponseKey =          @&quot;WebResourceResponse&quot;
 
 - (NSData *)data
 {
-    return _private-&gt;coreResource ? [_private-&gt;coreResource-&gt;data()-&gt;createNSData() autorelease] : 0;
+    if (_private-&gt;coreResource &amp;&amp; _private-&gt;coreResource-&gt;data())
+        return [_private-&gt;coreResource-&gt;data()-&gt;createNSData() autorelease];
+    return 0;
 }
 
 - (NSURL *)URL
</string>
    </contents>
    <universal-time>
      <integer>3419789143</integer>
    </universal-time>
    <channel>
      <string>#webkit</string>
    </channel>
    <colorization-mode>
      <string>C++</string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
  </paste>
</paste-with-annotations>