Fixed the problem that the webview becomes black when loading a webpage. 70/12970/1
authorJoone Hur <joone.hur@intel.com>
Wed, 27 Nov 2013 03:48:19 +0000 (19:48 -0800)
committerJoone Hur <joone.hur@intel.com>
Wed, 27 Nov 2013 04:14:26 +0000 (20:14 -0800)
Change-Id: Ic5319a57dbdc56566e45f567d9cdac3af21244f6

Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.cpp

index 20be195..8b7b89a 100644 (file)
@@ -278,7 +278,7 @@ void WaylandBuffer::bindTextureToImage(bool bindFirstTextureOnly)
         attribs[0] = EGL_WAYLAND_PLANE_WL;
         attribs[1] = i;
         attribs[2] = EGL_NONE;
-        EGLHelper::createEGLImage(&eglImage, EGL_WAYLAND_BUFFER_WL, wl_resource_get_user_data(m_commitedResource), attribs, display);
+        EGLHelper::createEGLImage(&eglImage, EGL_WAYLAND_BUFFER_WL, m_commitedResource, attribs, display);
         if (eglImage == EGL_NO_IMAGE_KHR) {
             LOG_ERROR("failed to create img for plane %d\n", i);
             continue;