Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: headless/lib/browser/headless_web_contents_impl.cc

Issue 2787373002: [headless] Use individual aura::WindowTreeHosts per WebContents. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: headless/lib/browser/headless_web_contents_impl.cc
diff --git a/headless/lib/browser/headless_web_contents_impl.cc b/headless/lib/browser/headless_web_contents_impl.cc
index f75a2dea7c877e36582aed9241c1eed9e3dca4b3..64ded56f90cbbe87b01bf45ad88de00f067b18e6 100644
--- a/headless/lib/browser/headless_web_contents_impl.cc
+++ b/headless/lib/browser/headless_web_contents_impl.cc
@@ -159,7 +159,7 @@ HeadlessWebContentsImpl::CreateFromWebContents(
}
void HeadlessWebContentsImpl::InitializeScreen(const gfx::Size& initial_size) {
- browser()->PlatformInitializeWebContents(initial_size, web_contents_.get());
+ browser()->PlatformInitializeWebContents(initial_size, this);
}
HeadlessWebContentsImpl::HeadlessWebContentsImpl(

Powered by Google App Engine
This is Rietveld 408576698