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

Unified Diff: Source/core/paint/ClipRecorderTest.cpp

Issue 719353004: [Slimming Paint] Track clip renderers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address reviewer comments Created 6 years, 1 month 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/core/paint/ClipRecorderTest.cpp
diff --git a/Source/core/paint/ClipRecorderTest.cpp b/Source/core/paint/ClipRecorderTest.cpp
index 981b921be8dd1bf322016396f926b1bf243c8b4d..9fe0fd6dfc3e56a732e5cd0e8817e8ac54fad9ee 100644
--- a/Source/core/paint/ClipRecorderTest.cpp
+++ b/Source/core/paint/ClipRecorderTest.cpp
@@ -39,7 +39,7 @@ void drawClip(GraphicsContext* context, RenderView* renderer, PaintPhase phase,
{
IntRect rect(1, 1, 9, 9);
ClipRect clipRect(rect);
- ClipRecorder clipRecorder(renderer->compositor()->rootRenderLayer(), context, DisplayItem::ClipLayerForeground, clipRect);
+ ClipRecorder clipRecorder(renderer->compositor()->rootRenderLayer()->renderer(), context, DisplayItem::ClipLayerForeground, clipRect);
}
TEST_F(ClipRecorderTest, ClipRecorderTest_Single)

Powered by Google App Engine
This is Rietveld 408576698