| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index aa0ca0806d1118259c61d258d845fa3f26c5995c..497cc31242e7ca5ec00a58e862eec5779239fb1f 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -372,7 +372,7 @@ static FrameViewBase* widgetForElement(const Element& focusedElement) {
|
| LayoutObject* layoutObject = focusedElement.layoutObject();
|
| if (!layoutObject || !layoutObject->isLayoutPart())
|
| return 0;
|
| - return toLayoutPart(layoutObject)->widget();
|
| + return toLayoutPart(layoutObject)->frameViewBase();
|
| }
|
|
|
| static bool acceptsEditingFocus(const Element& element) {
|
|
|