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

Unified Diff: chrome/browser/ui/views/tabs/dock_info_win.cc

Issue 37733003: Make GetRootWindow() return a Window instead of a RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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/browser/ui/views/tabs/dock_info_win.cc
diff --git a/chrome/browser/ui/views/tabs/dock_info_win.cc b/chrome/browser/ui/views/tabs/dock_info_win.cc
index 07325b7861d1d0d8a50c0f0505f12235af37a53a..ad8abc8be908f38fef48c0290293545ce59bee33 100644
--- a/chrome/browser/ui/views/tabs/dock_info_win.cc
+++ b/chrome/browser/ui/views/tabs/dock_info_win.cc
@@ -304,7 +304,7 @@ std::set<HWND> RemapIgnoreSet(const std::set<gfx::NativeView>& ignore) {
std::set<HWND> hwnd_set;
std::set<gfx::NativeView>::const_iterator it = ignore.begin();
for (; it != ignore.end(); ++it) {
- HWND w = (*it)->GetRootWindow()->GetAcceleratedWidget();
+ HWND w = (*it)->GetDispatcher()->GetAcceleratedWidget();
if (w)
hwnd_set.insert(w);
}

Powered by Google App Engine
This is Rietveld 408576698