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

Unified Diff: headless/test/headless_test_launcher.cc

Issue 2013483002: headless: Make HeadlessBrowser::Options move-only (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/test/headless_browser_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/test/headless_test_launcher.cc
diff --git a/headless/test/headless_test_launcher.cc b/headless/test/headless_test_launcher.cc
index 13e4f6c9d305203b6cbb6aa6096c9c6662379274..da4550052cd018b321a97118501b4dcb73544369 100644
--- a/headless/test/headless_test_launcher.cc
+++ b/headless/test/headless_test_launcher.cc
@@ -18,10 +18,10 @@ namespace {
class HeadlessBrowserImplForTest : public HeadlessBrowserImpl {
public:
- explicit HeadlessBrowserImplForTest(const HeadlessBrowser::Options& options)
+ explicit HeadlessBrowserImplForTest(HeadlessBrowser::Options options)
: HeadlessBrowserImpl(base::Bind(&HeadlessBrowserImplForTest::OnStart,
base::Unretained(this)),
- options) {}
+ std::move(options)) {}
void OnStart(HeadlessBrowser* browser) { EXPECT_EQ(this, browser); }
« no previous file with comments | « headless/test/headless_browser_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698