| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index ece7e1b97295923f86a0c0ee107a3ed2e8007164..15683095a246eef03900b1fa1e059eab18df6db9 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -92,6 +92,7 @@
|
| #include "content/public/browser/user_metrics.h"
|
| #include "content/public/browser/web_contents_delegate.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| +#include "content/public/browser/web_contents_source.h"
|
| #include "content/public/common/bindings_policy.h"
|
| #include "content/public/common/browser_plugin_guest_mode.h"
|
| #include "content/public/common/content_constants.h"
|
| @@ -1783,6 +1784,7 @@ void WebContentsImpl::CreateNewWindow(
|
| create_params.initial_size = GetContainerBounds().size();
|
| new_contents = static_cast<WebContentsImpl*>(
|
| WebContents::Create(create_params));
|
| + WebContentsSource::CreateForWebContentsAndLocation(new_contents, FROM_HERE);
|
| } else {
|
| new_contents = GetBrowserPluginGuest()->CreateNewGuestWindow(create_params);
|
| }
|
|
|