Index: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
index ff5fcfb32b3d85c048e3d11154f5c79a113ee89f..eb19818c2295ec0f667aec27629b3e0cdc25bb07 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
@@ -248,7 +248,7 @@ void InspectorLayerTreeAgent::buildLayerIdToNodeIdMap( |
PaintLayer* root, |
LayerIdToNodeIdMap& layerIdToNodeIdMap) { |
if (root->hasCompositedLayerMapping()) { |
- if (Node* node = root->layoutObject()->generatingNode()) { |
+ if (Node* node = root->layoutObject().generatingNode()) { |
GraphicsLayer* graphicsLayer = |
root->compositedLayerMapping()->childForSuperlayers(); |
layerIdToNodeIdMap.set(graphicsLayer->platformLayer()->id(), |
@@ -258,10 +258,10 @@ void InspectorLayerTreeAgent::buildLayerIdToNodeIdMap( |
for (PaintLayer* child = root->firstChild(); child; |
child = child->nextSibling()) |
buildLayerIdToNodeIdMap(child, layerIdToNodeIdMap); |
- if (!root->layoutObject()->isLayoutIFrame()) |
+ if (!root->layoutObject().isLayoutIFrame()) |
return; |
FrameView* childFrameView = |
- toFrameView(toLayoutPart(root->layoutObject())->widget()); |
+ toFrameView(toLayoutPart(root->layoutObject()).widget()); |
LayoutViewItem childLayoutViewItem = childFrameView->layoutViewItem(); |
if (!childLayoutViewItem.isNull()) { |
if (PaintLayerCompositor* childCompositor = |