Index: Source/core/inspector/InspectorLayerTreeAgent.cpp |
diff --git a/Source/core/inspector/InspectorLayerTreeAgent.cpp b/Source/core/inspector/InspectorLayerTreeAgent.cpp |
index 6d5f1eba6ce220f577c25c87824170922d767f4e..051ff7ca15f3ef90d3e7a128503a4fbb01a5bc18 100644 |
--- a/Source/core/inspector/InspectorLayerTreeAgent.cpp |
+++ b/Source/core/inspector/InspectorLayerTreeAgent.cpp |
@@ -42,10 +42,10 @@ |
#include "core/inspector/InspectorPageAgent.h" |
#include "core/inspector/InspectorState.h" |
#include "core/inspector/InstrumentingAgents.h" |
+#include "core/layout/LayoutPart.h" |
#include "core/layout/compositing/CompositedLayerMapping.h" |
#include "core/layout/compositing/LayerCompositor.h" |
#include "core/loader/DocumentLoader.h" |
-#include "core/rendering/RenderPart.h" |
#include "core/rendering/RenderView.h" |
#include "platform/geometry/IntRect.h" |
#include "platform/graphics/CompositingReasons.h" |
@@ -240,7 +240,7 @@ void InspectorLayerTreeAgent::buildLayerIdToNodeIdMap(Layer* root, LayerIdToNode |
buildLayerIdToNodeIdMap(child, layerIdToNodeIdMap); |
if (!root->renderer()->isRenderIFrame()) |
return; |
- FrameView* childFrameView = toFrameView(toRenderPart(root->renderer())->widget()); |
+ FrameView* childFrameView = toFrameView(toLayoutPart(root->renderer())->widget()); |
if (RenderView* childRenderView = childFrameView->renderView()) { |
if (LayerCompositor* childCompositor = childRenderView->compositor()) |
buildLayerIdToNodeIdMap(childCompositor->rootLayer(), layerIdToNodeIdMap); |