| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index ce41639574de91756b960ca8632733ca2be19d3e..e3806f2d42ac8a65017ab413962f3f1832fb76ee 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -72,7 +72,6 @@
|
| #include "web/CompositorMutatorImpl.h"
|
| #include "web/CompositorWorkerProxyClientImpl.h"
|
| #include "web/WebDevToolsAgentImpl.h"
|
| -#include "web/WebInputMethodControllerImpl.h"
|
| #include "web/WebPagePopupImpl.h"
|
| #include "web/WebRemoteFrameImpl.h"
|
| #include "web/WebViewFrameWidget.h"
|
| @@ -459,9 +458,11 @@ void WebFrameWidgetImpl::UpdateBaseBackgroundColor() {
|
| local_root_->GetFrameView()->SetBaseBackgroundColor(BaseBackgroundColor());
|
| }
|
|
|
| -WebInputMethodControllerImpl*
|
| +WebInputMethodController*
|
| WebFrameWidgetImpl::GetActiveWebInputMethodController() const {
|
| - return WebInputMethodControllerImpl::FromFrame(FocusedLocalFrameInWidget());
|
| + WebLocalFrameBase* local_frame =
|
| + WebLocalFrameBase::FromFrame(FocusedLocalFrameInWidget());
|
| + return local_frame ? local_frame->GetInputMethodController() : nullptr;
|
| }
|
|
|
| void WebFrameWidgetImpl::ScheduleAnimation() {
|
|
|