Index: chrome/browser/ui/views/location_bar/star_view_browsertest.cc |
diff --git a/chrome/browser/ui/views/location_bar/star_view_browsertest.cc b/chrome/browser/ui/views/location_bar/star_view_browsertest.cc |
index d02ddbc1bcaab0a556553cfea2d89452576ff03c..5cb43a854e795c4bda8a5d9c5c981d2126f5ae31 100644 |
--- a/chrome/browser/ui/views/location_bar/star_view_browsertest.cc |
+++ b/chrome/browser/ui/views/location_bar/star_view_browsertest.cc |
@@ -106,8 +106,8 @@ IN_PROC_BROWSER_TEST_F(StarViewTestNoDWM, WindowedNPAPIPluginHidden) { |
LOG(ERROR) << "3"; |
// Now get the region of the plugin before the star view is shown. |
- HWND hwnd = |
- tab->GetView()->GetNativeView()->GetDispatcher()->GetAcceleratedWidget(); |
+ HWND hwnd = tab->GetView()->GetNativeView()->GetDispatcher()->host()-> |
+ GetAcceleratedWidget(); |
HWND child = NULL; |
EnumChildWindows(hwnd, EnumerateChildren,reinterpret_cast<LPARAM>(&child)); |
LOG(ERROR) << "4"; |