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

Unified Diff: content/browser/geolocation/geolocation_service_context.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/geolocation/geolocation_service_context.cc
diff --git a/content/browser/geolocation/geolocation_service_context.cc b/content/browser/geolocation/geolocation_service_context.cc
index aeb6e621034ff4baba436a971c5d6f1d9ebe319a..1b69b1efa8d9077cacc53abd11d52a3de90aee2b 100644
--- a/content/browser/geolocation/geolocation_service_context.cc
+++ b/content/browser/geolocation/geolocation_service_context.cc
@@ -48,7 +48,7 @@ void GeolocationServiceContext::ResumeUpdates() {
}
void GeolocationServiceContext::SetOverride(
- scoped_ptr<Geoposition> geoposition) {
+ std::unique_ptr<Geoposition> geoposition) {
geoposition_override_.swap(geoposition);
for (auto* service : services_) {
service->SetOverride(*geoposition_override_.get());
« no previous file with comments | « content/browser/geolocation/geolocation_service_context.h ('k') | content/browser/geolocation/geolocation_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698