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

Unified Diff: chrome/test/chromedriver/commands.cc

Issue 2341693002: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Change std::string() back to "" to fix compile Created 4 years, 3 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: chrome/test/chromedriver/commands.cc
diff --git a/chrome/test/chromedriver/commands.cc b/chrome/test/chromedriver/commands.cc
index 8a4061b347d019f5467fece45fdbecae22abc112..123b90409a9a55e371880ce1cd4fe00204e6db9c 100644
--- a/chrome/test/chromedriver/commands.cc
+++ b/chrome/test/chromedriver/commands.cc
@@ -329,7 +329,7 @@ void ExecuteSessionCommand(
namespace internal {
void CreateSessionOnSessionThreadForTesting(const std::string& id) {
- SetThreadLocalSession(base::WrapUnique(new Session(id)));
+ SetThreadLocalSession(base::MakeUnique<Session>(id));
}
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698