summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_views.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser/shell_views.cc')
-rw-r--r--content/shell/browser/shell_views.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index ccd1e4c..5a661d6 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -513,7 +513,7 @@ void Shell::PlatformSetContents() {
if (headless_) {
CHECK(platform_);
aura::Window* content = web_contents_->GetView()->GetNativeView();
- aura::Window* parent = platform_->window()->window();
+ aura::Window* parent = platform_->dispatcher()->window();
if (!parent->Contains(content)) {
parent->AddChild(content);
content->Show();