| Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| index 6467d40158b462f9ef3272f1b678b2bd85edc4b7..fdbeaa22ad409e98314d545ed4c5a19f10528b0b 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -799,9 +799,7 @@ static bool IsFrameElement(const Node* n) {
|
| LayoutObject* layout_object = n->GetLayoutObject();
|
| if (!layout_object || !layout_object->IsLayoutPart())
|
| return false;
|
| - FrameViewBase* frame_view_base =
|
| - ToLayoutPart(layout_object)->GetFrameViewBase();
|
| - return frame_view_base && frame_view_base->IsFrameView();
|
| + return ToLayoutPart(layout_object)->ChildFrameView();
|
| }
|
|
|
| void FrameSelection::SetFocusedNodeIfNeeded() {
|
|
|