| Index: content/browser/web_contents/web_contents_view_aura.cc
|
| diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
|
| index 2b33dab8b71c38a640e3abb36921cb0500faf3df..88bf5841b5623f891d0d771dc9c0ec33e7a3d8d5 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura.cc
|
| @@ -40,6 +40,7 @@
|
| #include "ui/aura/client/aura_constants.h"
|
| #include "ui/aura/client/drag_drop_client.h"
|
| #include "ui/aura/client/drag_drop_delegate.h"
|
| +#include "ui/aura/client/window_tree_client.h"
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/root_window.h"
|
| #include "ui/aura/root_window_observer.h"
|
| @@ -1160,8 +1161,8 @@ void WebContentsViewAura::CreateView(
|
| // explicitly add this WebContentsViewAura to their tree after they create
|
| // us.
|
| if (root_window) {
|
| - window_->SetDefaultParentByRootWindow(
|
| - root_window, root_window->GetBoundsInScreen());
|
| + aura::client::ParentWindowWithContext(
|
| + window_.get(), root_window, root_window->GetBoundsInScreen());
|
| }
|
| }
|
| window_->layer()->SetMasksToBounds(true);
|
|
|