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

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

Issue 2692853016: Change PaintLayer::m_layoutObject to a reference. (Closed)
Patch Set: Added TODO Created 3 years, 10 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/LayerClipRecorderTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp b/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp
index a514d217ac5f5694b8413738df9af94b3a73d947..5ff72f56d804ef50e5f08dfbd3aab7cc2fcd9f27 100644
--- a/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp
+++ b/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp
@@ -31,7 +31,7 @@ void drawEmptyClip(GraphicsContext& context,
LayoutRect rect(1, 1, 9, 9);
ClipRect clipRect(rect);
LayerClipRecorder LayerClipRecorder(
- context, *layoutView.compositor()->rootLayer()->layoutObject(),
+ context, layoutView.compositor()->rootLayer()->layoutObject(),
DisplayItem::kClipLayerForeground, clipRect, 0, LayoutPoint(),
PaintLayerFlags());
}
@@ -43,7 +43,7 @@ void drawRectInClip(GraphicsContext& context,
IntRect rect(1, 1, 9, 9);
ClipRect clipRect((LayoutRect(rect)));
LayerClipRecorder LayerClipRecorder(
- context, *layoutView.compositor()->rootLayer()->layoutObject(),
+ context, layoutView.compositor()->rootLayer()->layoutObject(),
DisplayItem::kClipLayerForeground, clipRect, 0, LayoutPoint(),
PaintLayerFlags());
if (!LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(
« no previous file with comments | « third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp ('k') | third_party/WebKit/Source/core/paint/PaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698