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

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

Issue 2745563004: Reduce copying of local data structures in GeometryMapper and PaintLayerClipper. (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 a9aaa381dcaa511e54ed9ac049395b7972004827..8aa1b45ddc3d32f32fa3d49a291bd3182cd6b108 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -750,8 +750,9 @@ PaintResult PaintLayerPainter::paintLayerWithTransform(
if (shouldRespectOverflowClip(paintFlags, m_paintLayer.layoutObject()) ==
IgnoreOverflowClip)
clipRectsContext.setIgnoreOverflowClip();
- ancestorBackgroundClipRect = m_paintLayer.clipper(geometryMapperOption)
- .backgroundClipRect(clipRectsContext);
+ m_paintLayer.clipper(geometryMapperOption)
+ .calculateBackgroundClipRect(clipRectsContext,
+ ancestorBackgroundClipRect);
}
}

Powered by Google App Engine
This is Rietveld 408576698