Unreviewed. Fix GTK+ build with OpenGL disabled after r217779.
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Jun 2017 16:03:10 +0000 (16:03 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Jun 2017 16:03:10 +0000 (16:03 +0000)
* WebProcess/WebPage/AcceleratedDrawingArea.cpp:
(WebKit::AcceleratedDrawingArea::mainFrameContentSizeChanged):

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

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/AcceleratedDrawingArea.cpp

index de18e78..679b618 100644 (file)
@@ -1,5 +1,12 @@
 2017-06-05  Carlos Garcia Campos  <cgarcia@igalia.com>
 
+        Unreviewed. Fix GTK+ build with OpenGL disabled after r217779.
+
+        * WebProcess/WebPage/AcceleratedDrawingArea.cpp:
+        (WebKit::AcceleratedDrawingArea::mainFrameContentSizeChanged):
+
+2017-06-05  Carlos Garcia Campos  <cgarcia@igalia.com>
+
         [WPE] Use AcceleratedDrawingArea instead of its fork
         https://bugs.webkit.org/show_bug.cgi?id=172496
 
index 4d07e2e..c09056b 100644 (file)
@@ -163,10 +163,12 @@ void AcceleratedDrawingArea::mainFrameContentSizeChanged(const IntSize& size)
         else if (m_previousLayerTreeHost)
             m_previousLayerTreeHost->sizeDidChange(size);
     } else {
+#if USE(COORDINATED_GRAPHICS_THREADED)
         if (m_layerTreeHost)
             m_layerTreeHost->contentsSizeChanged(size);
         else if (m_previousLayerTreeHost)
             m_previousLayerTreeHost->contentsSizeChanged(size);
+#endif
     }
     m_webPage.mainFrame()->pageOverlayController().didChangeDocumentSize();
 }