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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 2810873007: Replace LayoutPart::GetFrameViewBase with GetNodeFrameView (Closed)
Patch Set: No need for child_frame_view var Created 3 years, 8 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
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 f36d613ff7e40302e5078997c79585b363188a50..4b2bad05261890b1b773348822e6a6fc21a8d516 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
@@ -267,7 +267,7 @@ void InspectorLayerTreeAgent::BuildLayerIdToNodeIdMap(
if (!root->GetLayoutObject().IsLayoutIFrame())
return;
FrameView* child_frame_view =
- ToFrameView(ToLayoutPart(root->GetLayoutObject()).GetFrameViewBase());
+ ToLayoutPart(root->GetLayoutObject()).ChildFrameView();
LayoutViewItem child_layout_view_item = child_frame_view->GetLayoutViewItem();
if (!child_layout_view_item.IsNull()) {
if (PaintLayerCompositor* child_compositor =
« no previous file with comments | « third_party/WebKit/Source/core/input/ScrollManager.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698