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

Unified Diff: Source/platform/graphics/GraphicsLayer.cpp

Issue 1238123004: Slimming Paint phase 2 compositing algorithm plumbing & skeleton display list API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
Index: Source/platform/graphics/GraphicsLayer.cpp
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
index 4a23d1162426e4df41d773dd2853d9f9f27bde96..74e34b5fea71ad077144e46b71fbe20d9834b9ac 100644
--- a/Source/platform/graphics/GraphicsLayer.cpp
+++ b/Source/platform/graphics/GraphicsLayer.cpp
@@ -1135,6 +1135,11 @@ void GraphicsLayer::paint(GraphicsContext& context, const IntRect& clip)
paintGraphicsLayerContents(context, clip);
}
+void GraphicsLayer::paint(GraphicsContext& context)
+{
+ // TODO(chrishtr: fix this rect to instead derive interest rect during paint (crbug.com/486603).
+ paintGraphicsLayerContents(context, LayoutRect::infiniteIntRect());
+}
void GraphicsLayer::notifyAnimationStarted(double monotonicTime, int group)
{

Powered by Google App Engine
This is Rietveld 408576698