| 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 6ab0026eb81798ca50b923e27375475c361ed7a0..9247096b66c092cb4808ae1119c89ba1335a6e66 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -842,8 +842,8 @@ static bool isFrameElement(const Node* n) {
|
| LayoutObject* layoutObject = n->layoutObject();
|
| if (!layoutObject || !layoutObject->isLayoutPart())
|
| return false;
|
| - Widget* widget = toLayoutPart(layoutObject)->widget();
|
| - return widget && widget->isFrameView();
|
| + FrameViewBase* frameViewBase = toLayoutPart(layoutObject)->widget();
|
| + return frameViewBase && frameViewBase->isFrameView();
|
| }
|
|
|
| void FrameSelection::setFocusedNodeIfNeeded() {
|
|
|