| Index: third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| index b1ed72e6131dbd161b54a432dfae687ec0b34b55..ab1eec888a8626faaa36530a9a5bb49db12fcb2f 100644
|
| --- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| @@ -158,10 +158,10 @@ InputMethodController& WebInputMethodControllerImpl::GetInputMethodController()
|
|
|
| WebPlugin* WebInputMethodControllerImpl::FocusedPluginIfInputMethodSupported()
|
| const {
|
| - WebPluginContainerBase* container =
|
| - WebLocalFrameImpl::CurrentPluginContainer(GetFrame());
|
| - if (container && container->SupportsInputMethod())
|
| + WebPluginContainerBase* container = GetFrame()->GetWebPluginContainerBase();
|
| + if (container && container->SupportsInputMethod()) {
|
| return container->Plugin();
|
| + }
|
| return nullptr;
|
| }
|
|
|
|
|