Remove duplicated LayerTreeHost::supportsAcceleratedCompositing
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Jul 2013 15:36:54 +0000 (15:36 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Jul 2013 15:36:54 +0000 (15:36 +0000)
https://bugs.webkit.org/show_bug.cgi?id=118949

Patch by Jae Hyun Park <jae.park@company100.net> on 2013-07-29
Reviewed by Noam Rosenthal.

* WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
* WebProcess/WebPage/LayerTreeHost.h:
(WebKit::LayerTreeHost::supportsAcceleratedCompositing):

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

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp
Source/WebKit2/WebProcess/WebPage/LayerTreeHost.h

index 38fb10b..f05eaea 100644 (file)
@@ -1,3 +1,14 @@
+2013-07-29  Jae Hyun Park  <jae.park@company100.net>
+
+        Remove duplicated LayerTreeHost::supportsAcceleratedCompositing
+        https://bugs.webkit.org/show_bug.cgi?id=118949
+
+        Reviewed by Noam Rosenthal.
+
+        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+        * WebProcess/WebPage/LayerTreeHost.h:
+        (WebKit::LayerTreeHost::supportsAcceleratedCompositing):
+
 2013-07-29  Zan Dobersek  <zdobersek@igalia.com>
 
         [Automake] Remove references to non-existent *_CFLAGS and *_LIBS variables
index 4d82103..3f99c87 100644 (file)
@@ -371,11 +371,6 @@ PassRefPtr<CoordinatedSurface> CoordinatedLayerTreeHost::createCoordinatedSurfac
     return WebCoordinatedSurface::create(size, flags);
 }
 
-bool LayerTreeHost::supportsAcceleratedCompositing()
-{
-    return true;
-}
-
 void CoordinatedLayerTreeHost::deviceOrPageScaleFactorChanged()
 {
     m_coordinator->deviceOrPageScaleFactorChanged();
index 2fad2d1..0e18bcb 100644 (file)
@@ -108,12 +108,10 @@ protected:
 #endif
 };
 
-#if !USE(COORDINATED_GRAPHICS)
 inline bool LayerTreeHost::supportsAcceleratedCompositing()
 {
     return true;
 }
-#endif
 
 } // namespace WebKit