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

Unified Diff: blimp/engine/feature/geolocation/engine_geolocation_feature.cc

Issue 2250433006: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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: blimp/engine/feature/geolocation/engine_geolocation_feature.cc
diff --git a/blimp/engine/feature/geolocation/engine_geolocation_feature.cc b/blimp/engine/feature/geolocation/engine_geolocation_feature.cc
index 5e8e9e804dba5ce9ea51916455acc0928bd6ff01..923fcf40c9fe22c3dafba0a6042c18796c700fbc 100644
--- a/blimp/engine/feature/geolocation/engine_geolocation_feature.cc
+++ b/blimp/engine/feature/geolocation/engine_geolocation_feature.cc
@@ -31,7 +31,7 @@ class BlimpGeolocationDelegate : public device::GeolocationDelegate {
std::unique_ptr<device::LocationProvider> OverrideSystemLocationProvider()
final {
- return base::WrapUnique(new BlimpLocationProvider(feature_delegate_));
+ return base::MakeUnique<BlimpLocationProvider>(feature_delegate_);
}
private:
« no previous file with comments | « blimp/client/session/blimp_client_session.cc ('k') | blimp/engine/renderer/engine_image_serialization_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698