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) { |