Title: [136135] trunk/Source/WebCore
Revision
136135
Author
[email protected]
Date
2012-11-29 09:07:34 -0800 (Thu, 29 Nov 2012)

Log Message

GraphicsSurfaceGLX: remove redundant parameter from resolveGLMethods.
https://bugs.webkit.org/show_bug.cgi?id=103636

Reviewed by Kenneth Rohde Christiansen.

* platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
(WebCore::resolveGLMethods):
(WebCore::GraphicsSurface::platformCreate):
(WebCore::GraphicsSurface::platformImport):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (136134 => 136135)


--- trunk/Source/WebCore/ChangeLog	2012-11-29 16:50:45 UTC (rev 136134)
+++ trunk/Source/WebCore/ChangeLog	2012-11-29 17:07:34 UTC (rev 136135)
@@ -1,3 +1,15 @@
+2012-11-29  Zeno Albisser  <[email protected]>
+
+        GraphicsSurfaceGLX: remove redundant parameter from resolveGLMethods.
+        https://bugs.webkit.org/show_bug.cgi?id=103636
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        * platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
+        (WebCore::resolveGLMethods):
+        (WebCore::GraphicsSurface::platformCreate):
+        (WebCore::GraphicsSurface::platformImport):
+
 2012-11-29  Mike West  <[email protected]>
 
         Typo in 'autofocus' sandboxing error message.

Modified: trunk/Source/WebCore/platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp (136134 => 136135)


--- trunk/Source/WebCore/platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp	2012-11-29 16:50:45 UTC (rev 136134)
+++ trunk/Source/WebCore/platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp	2012-11-29 17:07:34 UTC (rev 136135)
@@ -384,7 +384,7 @@
     bool m_isReceiver;
 };
 
-static bool resolveGLMethods(GraphicsSurfacePrivate*)
+static bool resolveGLMethods()
 {
     static bool resolved = false;
     if (resolved)
@@ -470,7 +470,7 @@
     RefPtr<GraphicsSurface> surface = adoptRef(new GraphicsSurface(size, flags));
 
     surface->m_private = new GraphicsSurfacePrivate(shareContext);
-    if (!resolveGLMethods(surface->m_private))
+    if (!resolveGLMethods())
         return PassRefPtr<GraphicsSurface>();
 
     surface->m_platformSurface = surface->m_private->createSurface(size);
@@ -490,7 +490,7 @@
     surface->m_platformSurface = token.frontBufferHandle;
 
     surface->m_private = new GraphicsSurfacePrivate(surface->m_platformSurface);
-    if (!resolveGLMethods(surface->m_private))
+    if (!resolveGLMethods())
         return PassRefPtr<GraphicsSurface>();
 
     return surface;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to