| 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 056bb3e3cc38ad5f1ff95e155db4d468ce26633a..328d1c65c81336796910da3b54e603e89e64990d 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura.cc
|
| @@ -1471,6 +1471,17 @@ void WebContentsViewAura::OnBoundsChanged(const gfx::Rect& old_bounds,
|
| window_->children()[i]->SetBounds(bounds);
|
| }
|
| }
|
| +
|
| +#if defined(OS_WIN)
|
| + if (!legacy_hwnd_ && window_ && window_->GetHost()) {
|
| + HWND parent_hwnd = window_->GetHost()->GetAcceleratedWidget();
|
| + CHECK(parent_hwnd);
|
| + legacy_hwnd_.reset(LegacyRenderWidgetHostHWND::Create(parent_hwnd, this));
|
| + }
|
| +
|
| + if (legacy_hwnd_)
|
| + legacy_hwnd_->SetBounds(window_->GetBoundsInRootWindow());
|
| +#endif
|
| }
|
|
|
| gfx::NativeCursor WebContentsViewAura::GetCursor(const gfx::Point& point) {
|
|
|