Index: chrome/browser/extensions/extension_tabs_apitest.cc |
diff --git a/chrome/browser/extensions/extension_tabs_apitest.cc b/chrome/browser/extensions/extension_tabs_apitest.cc |
index 7cb35c7aca55104ee672bc0a4455cf4fc4968ad1..14f1dff4b2f066f3bb0cc29f37fcf63084861d9a 100644 |
--- a/chrome/browser/extensions/extension_tabs_apitest.cc |
+++ b/chrome/browser/extensions/extension_tabs_apitest.cc |
@@ -226,8 +226,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, |
#if defined(OS_WIN) |
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, FocusWindowDoesNotUnmaximize) { |
- HWND window = browser()->window()->GetNativeWindow()-> |
- GetDispatcher()->host()->GetAcceleratedWidget(); |
+ HWND window = |
+ browser()->window()->GetNativeWindow()->GetHost()->GetAcceleratedWidget(); |
::SendMessage(window, WM_SYSCOMMAND, SC_MAXIMIZE, 0); |
ASSERT_TRUE(RunExtensionTest("window_update/focus")) << message_; |
ASSERT_TRUE(::IsZoomed(window)); |