Title: [127273] trunk/Source/WebKit2
- Revision
- 127273
- Author
- kbal...@webkit.org
- Date
- 2012-08-31 09:54:07 -0700 (Fri, 31 Aug 2012)
Log Message
[Qt] LayerTreeRenderer::callOnMainTread method name is misleading
https://bugs.webkit.org/show_bug.cgi?id=95558
Reviewed by Kenneth Rohde Christiansen.
Fix the typo in the function name so callers will really call this
and not WTF::callOnMainThread. Renamed to dispatchOnMainThread to
make it clear that these things are not the same.
* UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
(WebKit::LayerTreeRenderer::dispatchOnMainThread):
(WebKit::LayerTreeRenderer::flushLayerChanges):
(WebKit::LayerTreeRenderer::purgeGLResources):
* UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
(LayerTreeRenderer):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (127272 => 127273)
--- trunk/Source/WebKit2/ChangeLog 2012-08-31 16:20:16 UTC (rev 127272)
+++ trunk/Source/WebKit2/ChangeLog 2012-08-31 16:54:07 UTC (rev 127273)
@@ -1,3 +1,21 @@
+2012-08-31 Balazs Kelemen <kbal...@webkit.org>
+
+ [Qt] LayerTreeRenderer::callOnMainTread method name is misleading
+ https://bugs.webkit.org/show_bug.cgi?id=95558
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Fix the typo in the function name so callers will really call this
+ and not WTF::callOnMainThread. Renamed to dispatchOnMainThread to
+ make it clear that these things are not the same.
+
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::dispatchOnMainThread):
+ (WebKit::LayerTreeRenderer::flushLayerChanges):
+ (WebKit::LayerTreeRenderer::purgeGLResources):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (LayerTreeRenderer):
+
2012-08-31 Brady Eidson <beid...@apple.com>
REGRESSION (127047): Crash in PluginProxy::windowVisibilityChanged when changing tabs
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp (127272 => 127273)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp 2012-08-31 16:20:16 UTC (rev 127272)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp 2012-08-31 16:54:07 UTC (rev 127273)
@@ -66,7 +66,7 @@
}
};
-void LayerTreeRenderer::callOnMainTread(const Function<void()>& function)
+void LayerTreeRenderer::dispatchOnMainThread(const Function<void()>& function)
{
if (isMainThread())
function();
@@ -397,7 +397,7 @@
commitTileOperations();
// The pending tiles state is on its way for the screen, tell the web process to render the next one.
- callOnMainThread(bind(&LayerTreeRenderer::renderNextFrame, this));
+ dispatchOnMainThread(bind(&LayerTreeRenderer::renderNextFrame, this));
}
void LayerTreeRenderer::renderNextFrame()
@@ -458,7 +458,7 @@
setActive(false);
- callOnMainThread(bind(&LayerTreeRenderer::purgeBackingStores, this));
+ dispatchOnMainThread(bind(&LayerTreeRenderer::purgeBackingStores, this));
}
void LayerTreeRenderer::setAnimatedOpacity(uint32_t id, float opacity)
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h (127272 => 127273)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h 2012-08-31 16:20:16 UTC (rev 127272)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h 2012-08-31 16:54:07 UTC (rev 127273)
@@ -104,7 +104,7 @@
virtual bool showDebugBorders(const WebCore::GraphicsLayer*) const { return false; }
virtual bool showRepaintCounter(const WebCore::GraphicsLayer*) const { return false; }
void paintContents(const WebCore::GraphicsLayer*, WebCore::GraphicsContext&, WebCore::GraphicsLayerPaintingPhase, const WebCore::IntRect&) { }
- void callOnMainTread(const Function<void()>&);
+ void dispatchOnMainThread(const Function<void()>&);
void adjustPositionForFixedLayers();
typedef HashMap<WebLayerID, WebCore::GraphicsLayer*> LayerMap;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes