Fixed Build error; isUsingPlatformSurface() was undefined
authorEunsol Park <eunsol47.park@samsung.com>
Thu, 23 May 2013 01:44:37 +0000 (10:44 +0900)
committerEunsol Park <eunsol47.park@samsung.com>
Thu, 23 May 2013 02:12:42 +0000 (11:12 +0900)
    [Title] Fixed Build error; isUsingPlatformSurface() was undefined
    [Issue#] N/A
    [Problem] Build error
    [Cause] isUsingPlatformSurface() was undefined in WebLayerTreeRenderer.h
    [Solution] add definition

Change-Id: I6ba48eb817e60c7d386eb7226bee0bb23bdfe7f9

Source/WebKit2/UIProcess/WebLayerTreeRenderer.h
Source/WebKit2/UIProcess/tizen/WebLayerTreeRendererTizen.h

index 7e0bb46..f5a1fcc 100755 (executable)
@@ -121,6 +121,7 @@ public:
     void updateTile(WebLayerID, int, const TileUpdate&);
 #if ENABLE(TIZEN_RUNTIME_BACKEND_SELECTION)
     virtual void updateTileWithUpdateInfo(WebLayerID, int, const TileUpdate&);
+    virtual bool isUsingPlatformSurface() { return false; }
 #endif
     TIZEN_VIRTUAL void flushLayerChanges();
 
@@ -136,7 +137,6 @@ public:
 #if ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
     virtual void freePlatformSurface() { }
     virtual bool hasPlatformSurfaceToFree() { return false; }
-    virtual bool isUsingPlatformSurface() { return false; }
     virtual void updatePlatformSurfaceTile(WebLayerID, int tileID, const WebCore::IntRect& sourceRect, int platformSurfaceID, const WebCore::IntSize& pixplatformSurfaceSizemapSize) { }
 #endif
 #if ENABLE(TIZEN_CSS_OVERFLOW_SCROLL_ACCELERATION)
index fe49268..45c63ab 100644 (file)
@@ -54,8 +54,6 @@ public:
     virtual void removeTile(WebLayerID, int);
 #if ENABLE(TIZEN_RUNTIME_BACKEND_SELECTION)
     virtual void updateTileWithUpdateInfo(WebLayerID, int, const TileUpdate&);
-#endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
     virtual bool isUsingPlatformSurface() { return true; }
 #endif
     virtual void flushLayerChanges();