From e69370c5f3427deb1ba54223b3ce971328fc391b Mon Sep 17 00:00:00 2001 From: Joone Hur Date: Tue, 26 Nov 2013 19:48:19 -0800 Subject: [PATCH] Fixed the problem that the webview becomes black when loading a webpage. Change-Id: Ic5319a57dbdc56566e45f567d9cdac3af21244f6 --- Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.cpp b/Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.cpp index 20be195..8b7b89a 100644 --- a/Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.cpp +++ b/Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.cpp @@ -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; -- 2.7.4