[WinCairo] NULL pointer crash when trying to use tiled backing for frame view.
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Sep 2015 17:00:59 +0000 (17:00 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Sep 2015 17:00:59 +0000 (17:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=149523

Reviewed by Brent Fulgham.

For WinCairo, disable tiled backing for frame view.

* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::shouldUseTiledBackingForFrameView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190207 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/win/ChangeLog
Source/WebKit/win/WebCoreSupport/WebChromeClient.cpp

index 6dc4c9f..437948c 100644 (file)
@@ -1,3 +1,15 @@
+2015-09-24  Per Arne Vollan  <peavo@outlook.com>
+
+        [WinCairo] NULL pointer crash when trying to use tiled backing for frame view.
+        https://bugs.webkit.org/show_bug.cgi?id=149523
+
+        Reviewed by Brent Fulgham.
+
+        For WinCairo, disable tiled backing for frame view.
+
+        * WebCoreSupport/WebChromeClient.cpp:
+        (WebChromeClient::shouldUseTiledBackingForFrameView):
+
 2015-09-21  Brent Fulgham  <bfulgham@apple.com>
 
         [Win] Show tiled drawing debug overlay on Windows
index d743a88..00079fa 100644 (file)
@@ -853,5 +853,9 @@ void WebChromeClient::AXFinishFrameLoad()
 
 bool WebChromeClient::shouldUseTiledBackingForFrameView(const FrameView* frameView) const
 {
+#if !USE(CAIRO)
     return frameView && frameView->frame().isMainFrame();
+#else
+    return false;
+#endif
 }