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

Unified Diff: third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.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
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp b/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
index 5afcad909a2587d8ec75cec6039c6c67d4ccac32..95dcee0101049b9e5ce1d0ced0e36578c9c33b4d 100644
--- a/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
+++ b/third_party/WebKit/Source/web/tests/LayoutGeometryMapTest.cpp
@@ -106,7 +106,7 @@ class LayoutGeometryMapTest
rb->enclosingLayer()->enclosingLayerForPaintInvalidation();
if (!compositingLayer)
return nullptr;
- return compositingLayer->layoutObject();
+ return &compositingLayer->layoutObject();
}
static const LayoutBoxModelObject* getFrameLayoutContainer(
@@ -120,7 +120,7 @@ class LayoutGeometryMapTest
rb->enclosingLayer()->enclosingLayerForPaintInvalidation();
if (!compositingLayer)
return nullptr;
- return compositingLayer->layoutObject();
+ return &compositingLayer->layoutObject();
}
static const FloatRect rectFromQuad(const FloatQuad& quad) {
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698