Index: ui/views/examples/content_client/examples_browser_main_parts.cc |
diff --git a/ui/views/examples/content_client/examples_browser_main_parts.cc b/ui/views/examples/content_client/examples_browser_main_parts.cc |
index 1a84210337763140e48622eaf5ab7ec464f1ebf7..e270d6fef123d7b987909680eb7db64f8fe7b13c 100644 |
--- a/ui/views/examples/content_client/examples_browser_main_parts.cc |
+++ b/ui/views/examples/content_client/examples_browser_main_parts.cc |
@@ -13,6 +13,7 @@ |
#include "base/threading/thread_restrictions.h" |
#include "content/public/common/content_switches.h" |
#include "content/shell/browser/shell_browser_context.h" |
+#include "ui/base/ime/input_method_initializer.h" |
#include "ui/views/examples/examples_window_with_content.h" |
#include "ui/views/focus/accelerator_handler.h" |
#include "ui/views/test/desktop_test_views_delegate.h" |
@@ -43,6 +44,7 @@ ExamplesBrowserMainParts::~ExamplesBrowserMainParts() { |
} |
void ExamplesBrowserMainParts::PreMainMessageLoopRun() { |
+ ui::InitializeInputMethodForTesting(); |
browser_context_.reset(new content::ShellBrowserContext(false, NULL)); |
gfx::NativeView window_context = NULL; |