[EFL] Add PageClientEfl to WebCoreSupport.
[WebKit-https.git] / Source / WebCore / platform / graphics / efl / GraphicsContext3DPrivate.cpp
index 08153f00444d89cb8e368edb3c7965b6323b1896..e51ddc1b4cf6ad348d3c675774ad7f82fa3c1feb 100644 (file)
@@ -139,7 +139,7 @@ bool GraphicsContext3DPrivate::createSurface(PageClientEfl* pageClient, bool ren
         evas_gl_native_surface_get(m_evasGL, m_surface, &nativeSurface);
 
         // Create and specially set up a evas_object which act as the render targer surface.
-        if (!pageClient->createEvasObjectForAcceleratedCompositing(&nativeSurface, x, y, width, height))
+        if (!pageClient->createEvasObjectForAcceleratedCompositing(&nativeSurface, IntRect(x, y, width, height)))
             return false;
     }
 #endif