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

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

Issue 2792883002: Revert of [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
« no previous file with comments | « headless/lib/browser/headless_web_contents_impl.h ('k') | headless/lib/browser/headless_window_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64ded56f90cbbe87b01bf45ad88de00f067b18e6..f75a2dea7c877e36582aed9241c1eed9e3dca4b3 100644
--- a/headless/lib/browser/headless_web_contents_impl.cc
+++ b/headless/lib/browser/headless_web_contents_impl.cc
@@ -159,7 +159,7 @@
}
void HeadlessWebContentsImpl::InitializeScreen(const gfx::Size& initial_size) {
- browser()->PlatformInitializeWebContents(initial_size, this);
+ browser()->PlatformInitializeWebContents(initial_size, web_contents_.get());
}
HeadlessWebContentsImpl::HeadlessWebContentsImpl(
« no previous file with comments | « headless/lib/browser/headless_web_contents_impl.h ('k') | headless/lib/browser/headless_window_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698