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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp

Issue 2791883002: Optimize ClipRects in the PrePaintTreeWalk (Closed)
Patch Set: none Created 3 years, 9 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: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index 7534363c54277733486e6b18333c7b1c72ac6ba0..1620e00c83d80b1e6f16f8e506d5ffd142c0683d 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -154,7 +154,7 @@ PaintResult PaintLayerPainter::paintLayerContentsCompositingAllPhases(
}
static bool shouldCreateSubsequence(const PaintLayer& paintLayer,
- GraphicsContext& context,
+ const GraphicsContext& context,
const PaintLayerPaintingInfo& paintingInfo,
PaintLayerFlags paintFlags) {
// Caching is not needed during printing.

Powered by Google App Engine
This is Rietveld 408576698