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

Unified Diff: chrome/browser/printing/cloud_print/privet_notifications_unittest.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Changes from review by sky 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/browser/printing/cloud_print/privet_notifications_unittest.cc
diff --git a/chrome/browser/printing/cloud_print/privet_notifications_unittest.cc b/chrome/browser/printing/cloud_print/privet_notifications_unittest.cc
index e3766d02ef4bdf7444917d2d10ec9f25c40af061..9a8a2aa2817f05274239fc003c3eb62b9c2c1a8e 100644
--- a/chrome/browser/printing/cloud_print/privet_notifications_unittest.cc
+++ b/chrome/browser/printing/cloud_print/privet_notifications_unittest.cc
@@ -74,7 +74,7 @@ class MockPrivetHttpFactory : public PrivetHTTPAsynchronousFactory {
std::unique_ptr<PrivetHTTPResolution> CreatePrivetHTTP(
const std::string& name) override {
- return base::WrapUnique(new MockResolution(name, request_context_.get()));
+ return base::MakeUnique<MockResolution>(name, request_context_.get());
}
private:

Powered by Google App Engine
This is Rietveld 408576698