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

Unified Diff: content/shell/browser/shell_views.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: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index 7d8309a723382d186ffcfbc27ed86e7e8221e85f..a0f633af32c1997f236c32b4c581fbd2adf20cfd 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -361,7 +361,7 @@ void Shell::PlatformCreateWindow(int width, int height) {
window_ = window_widget_->GetNativeWindow();
// Call ShowRootWindow on RootWindow created by MinimalShell without
// which XWindow owned by RootWindow doesn't get mapped.
- window_->GetRootWindow()->ShowRootWindow();
+ window_->GetDispatcher()->ShowRootWindow();
window_widget_->Show();
}
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura_browsertest.cc ('k') | printing/printing_context_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698