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(); |
} |