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

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

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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 7a4f747aaaa3303683c1be4b0752f876bb201450..22829a10f2c33b17639ab4df2b4ecbf147a76139 100644
--- a/chrome/test/base/interactive_test_utils_win.cc
+++ b/chrome/test/base/interactive_test_utils_win.cc
@@ -29,7 +29,7 @@ void HideNativeWindow(gfx::NativeWindow window) {
HideNativeWindowAura(window);
return;
}
- HWND hwnd = window->GetDispatcher()->GetAcceleratedWidget();
+ HWND hwnd = window->GetDispatcher()->host()->GetAcceleratedWidget();
#else
HWND hwnd = window;
#endif
@@ -43,7 +43,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()->GetAcceleratedWidget();
+ HWND hwnd = window->GetDispatcher()->host()->GetAcceleratedWidget();
#else
HWND hwnd = window;
#endif

Powered by Google App Engine
This is Rietveld 408576698