Index: blimp/engine/browser/blimp_engine_session.cc |
diff --git a/blimp/engine/browser/blimp_engine_session.cc b/blimp/engine/browser/blimp_engine_session.cc |
index 6ffd79dabdbee355d0383aee2861d41584e3e79d..e76dd8c2f86af6de58cbc593408d7fad128f3902 100644 |
--- a/blimp/engine/browser/blimp_engine_session.cc |
+++ b/blimp/engine/browser/blimp_engine_session.cc |
@@ -17,6 +17,7 @@ |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/render_widget_host.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/browser/web_contents_source.h" |
#include "ui/aura/client/default_capture_client.h" |
#include "ui/aura/env.h" |
#include "ui/aura/window.h" |
@@ -93,6 +94,8 @@ void BlimpEngineSession::CreateWebContents(const int target_tab_id) { |
nullptr); |
scoped_ptr<content::WebContents> new_contents = |
make_scoped_ptr(content::WebContents::Create(create_params)); |
+ WebContentsSource::CreateForWebContentsAndLocation(web_contents.get(), |
Mike Wittman
2015/11/11 17:15:28
I don't think blimp is used on desktop, so this pr
hcarmona
2015/11/11 19:57:58
Done.
|
+ FROM_HERE); |
PlatformSetContents(new_contents.Pass()); |
} |