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

Unified Diff: headless/app/headless_shell.cc

Issue 1891843004: [headless] AddWindowTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests and changed ownership model Created 4 years, 8 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/app/headless_shell.cc
diff --git a/headless/app/headless_shell.cc b/headless/app/headless_shell.cc
index 1031dbd5446b78a4fa95d7981971fc1a9faca677..76c970318708d61a0bb0bc3c2878e44dde470dd3 100644
--- a/headless/app/headless_shell.cc
+++ b/headless/app/headless_shell.cc
@@ -73,7 +73,7 @@ class HeadlessShell : public HeadlessWebContents::Observer {
private:
HeadlessBrowser* browser_; // Not owned.
- std::unique_ptr<HeadlessWebContents> web_contents_;
+ HeadlessWebContents* web_contents_;
DISALLOW_COPY_AND_ASSIGN(HeadlessShell);
};

Powered by Google App Engine
This is Rietveld 408576698