From: Tina Zhang Date: Fri, 21 Feb 2014 09:23:08 +0000 (+0800) Subject: Fix TIVI-2772 X-Git-Tag: accepted/tizen/generic/20140305.081922^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_ivi_release;p=platform%2Fframework%2Fweb%2Fwebkit-efl.git Fix TIVI-2772 webkit2-efl build fail during emulator image build with gbs. This happens during the "WaylandSurface.cpp" being compiled. The complier complains the type PFNEGLQUERYWAYLANDBUFFERWL isn't defined. This type should be defined in "WaylandPlatformExt.h". But with the emulator build, the file "WaylandPlatformExt.h" cannot be included in the "EGLSurface.h", since USE(MESA) is disabled. So the solution is let "WaylandPlatformExt.h" be included in the "EGLSurface.h" for both emulator and standard build. Change-Id: I4c661deb6b91f8b74de0bc206e84a1adace81e35 --- diff --git a/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h b/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h index 6293575..3945b2a 100644 --- a/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h +++ b/Source/WebCore/platform/graphics/surfaces/egl/EGLSurface.h @@ -41,7 +41,7 @@ #include #include -#if PLATFORM(WAYLAND) && USE(MESA) +#if PLATFORM(WAYLAND) #include "WaylandPlatformExt.h" #endif