From: Zhao Halley Date: Fri, 12 Apr 2013 08:25:46 +0000 (+0800) Subject: move xWindowIdPrepared inside of TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE X-Git-Tag: 2.1_release~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10397244b7444596bdaf9f0b66e05373522ee924;p=platform%2Fframework%2Fweb%2Fwebkit-efl.git move xWindowIdPrepared inside of TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE [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 --- diff --git a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h index 5277651..02d7809 100644 --- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h +++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h @@ -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)