| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index dbce5b06b65f7e4ff4ef9e4783670e765bcfada8..7076785e15c99701d3525da98edc1303906d8baa 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2654,7 +2654,7 @@ bool WebViewImpl::selectionBounds(WebRect& anchor, WebRect& focus) const
|
|
|
| WebPlugin* WebViewImpl::focusedPluginIfInputMethodSupported(LocalFrame* frame)
|
| {
|
| - WebPluginContainerImpl* container = WebLocalFrameImpl::pluginContainerFromNode(frame, WebNode(focusedElement()));
|
| + WebPluginContainerImpl* container = WebLocalFrameImpl::currentPluginContainer(frame);
|
| if (container && container->supportsInputMethod())
|
| return container->plugin();
|
| return nullptr;
|
|
|