From 10397244b7444596bdaf9f0b66e05373522ee924 Mon Sep 17 00:00:00 2001 From: Zhao Halley Date: Fri, 12 Apr 2013 16:25:46 +0800 Subject: [PATCH] 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 --- .../WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4