Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: sky/engine/platform/graphics/Canvas2DLayerBridge.cpp

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/platform/graphics/Canvas2DLayerBridge.h ('k') | sky/engine/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/graphics/Canvas2DLayerBridge.cpp
diff --git a/sky/engine/platform/graphics/Canvas2DLayerBridge.cpp b/sky/engine/platform/graphics/Canvas2DLayerBridge.cpp
index 5fdcef5a544741a6b888e80382518350e616a167..6bab12a595b9749b426c818ac79fe9b7f8505ca5 100644
--- a/sky/engine/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/sky/engine/platform/graphics/Canvas2DLayerBridge.cpp
@@ -539,11 +539,10 @@ WebLayer* Canvas2DLayerBridge::layer() const
return m_layer->layer();
}
-void Canvas2DLayerBridge::finalizeFrame(const FloatRect &dirtyRect)
+void Canvas2DLayerBridge::finalizeFrame()
{
ASSERT(!m_destructionInProgress);
Canvas2DLayerManager::get().layerDidDraw(this);
- m_layer->layer()->invalidateRect(dirtyRect);
m_didRecordDrawCommand = true;
}
« no previous file with comments | « sky/engine/platform/graphics/Canvas2DLayerBridge.h ('k') | sky/engine/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698