| Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| index 48ce4fcd4c0be408f1336a7cb0938b2281a4ea8f..36d96e9cc265bb1dccdadb73df0eb80bf01445e6 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| @@ -35,6 +35,7 @@
|
| #include "ui/base/clipboard/scoped_clipboard_writer.h"
|
| #include "ui/base/dragdrop/drag_drop_types.h"
|
| #include "ui/base/dragdrop/os_exchange_data.h"
|
| +#include "ui/base/ime/input_method.h"
|
| #include "ui/base/ime/text_input_client.h"
|
| #include "ui/base/ime/text_input_type.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -48,7 +49,6 @@
|
| #include "ui/views/border.h"
|
| #include "ui/views/button_drag_utils.h"
|
| #include "ui/views/controls/textfield/textfield.h"
|
| -#include "ui/views/ime/input_method.h"
|
| #include "ui/views/layout/fill_layout.h"
|
| #include "ui/views/widget/widget.h"
|
| #include "url/gurl.h"
|
| @@ -579,8 +579,7 @@ bool OmniboxViewViews::IsImeShowingPopup() const {
|
| #if defined(OS_CHROMEOS)
|
| return ime_candidate_window_open_;
|
| #else
|
| - const views::InputMethod* input_method = this->GetInputMethod();
|
| - return input_method && input_method->IsCandidatePopupOpen();
|
| + return GetInputMethod() ? GetInputMethod()->IsCandidatePopupOpen() : false;
|
| #endif
|
| }
|
|
|
|
|