Index: third_party/WebKit/Source/core/paint/FramePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
index 20dc935cca7e839d66904f78c61840724ab75510..d19d663e779f1c6ad314983250aa11d9021c8811 100644 |
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
@@ -164,13 +164,13 @@ void FramePainter::paintContents(GraphicsContext& context, |
#if DCHECK_IS_ON() |
layoutView->assertSubtreeIsLaidOut(); |
LayoutObject::SetLayoutNeededForbiddenScope forbidSetNeedsLayout( |
- *rootLayer->layoutObject()); |
+ rootLayer->layoutObject()); |
#endif |
PaintLayerPainter layerPainter(*rootLayer); |
float deviceScaleFactor = |
- blink::deviceScaleFactor(rootLayer->layoutObject()->frame()); |
+ blink::deviceScaleFactor(rootLayer->layoutObject().frame()); |
context.setDeviceScaleFactor(deviceScaleFactor); |
layerPainter.paint(context, LayoutRect(rect), localPaintFlags); |