move xWindowIdPrepared inside of TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE
authorZhao Halley <halley.zhao@intel.com>
Fri, 12 Apr 2013 08:25:46 +0000 (16:25 +0800)
committerGerrit Code Review <gerrit2@kim11>
Thu, 18 Apr 2013 09:04:47 +0000 (18:04 +0900)
[Title] move xWindowIdPrepared inside of TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE
[Issue#] N/A
[Problem] function declaration doesn't follow the scope of implementation
[Cause]
[Solution] move xWindowIdPrepared/scaleHDVideoToDisplaySize inside of
        ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
        in MediaPlayerPrivateGStreamer.h

Change-Id: I3e5aeb28260f505b03e9b2acba9cc1d37c4cf513

Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h

index 5277651..02d7809 100644 (file)
@@ -144,11 +144,11 @@ class MediaPlayerPrivateGStreamer : public MediaPlayerPrivateInterface
             // Const-casting here is safe, since all of TextureMapperPlatformLayer's functions are const.g
             virtual PlatformLayer* platformLayer() const;
 
+#if ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
             void xWindowIdPrepared(GstMessage*);
 #if USE(ACCELERATED_VIDEO_VAAPI)
             IntSize scaleHDVideoToDisplaySize(int videoWidth, int videoHeight, int displayWidth, int displayHeight) const;
 #endif
-#if ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
             virtual void paintCurrentFrameInContext(GraphicsContext*, const IntRect&);
 #endif // ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
 #endif // ENABLE(TIZEN_ACCELERATED_COMPOSITING) && USE(TIZEN_TEXTURE_MAPPER)