Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: chrome/test/base/interactive_test_utils_win.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/interactive_test_utils_win.cc
diff --git a/chrome/test/base/interactive_test_utils_win.cc b/chrome/test/base/interactive_test_utils_win.cc
index 6ee8640a16934b8be4a83950d470aa6ff232c3d6..af33eddfb9937d24d3c73e66c0181e69f3d677f9 100644
--- a/chrome/test/base/interactive_test_utils_win.cc
+++ b/chrome/test/base/interactive_test_utils_win.cc
@@ -28,7 +28,7 @@ void HideNativeWindow(gfx::NativeWindow window) {
HideNativeWindowAura(window);
return;
}
- HWND hwnd = window->GetDispatcher()->host()->GetAcceleratedWidget();
+ HWND hwnd = window->GetHost()->GetAcceleratedWidget();
#else
HWND hwnd = window;
#endif
@@ -42,7 +42,7 @@ bool ShowAndFocusNativeWindow(gfx::NativeWindow window) {
ShowAndFocusNativeWindowAura(window);
window->Show();
// Always make sure the window hosting ash is visible and focused.
- HWND hwnd = window->GetDispatcher()->host()->GetAcceleratedWidget();
+ HWND hwnd = window->GetHost()->GetAcceleratedWidget();
#else
HWND hwnd = window;
#endif
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc ('k') | chrome/test/base/view_event_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698