Index: content/browser/geofencing/geofencing_service_unittest.cc |
diff --git a/content/browser/geofencing/geofencing_service_unittest.cc b/content/browser/geofencing/geofencing_service_unittest.cc |
index 8d512ace076350772cf9ae7e49d0f79857e3f49d..437580eff14c4764f59cbd76b7390c5d7aa9d4d7 100644 |
--- a/content/browser/geofencing/geofencing_service_unittest.cc |
+++ b/content/browser/geofencing/geofencing_service_unittest.cc |
@@ -2,11 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "content/browser/geofencing/geofencing_service.h" |
+ |
#include <stdint.h> |
+#include "base/memory/ptr_util.h" |
#include "content/browser/geofencing/geofencing_provider.h" |
#include "content/browser/geofencing/geofencing_registration_delegate.h" |
-#include "content/browser/geofencing/geofencing_service.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
#include "content/public/test/test_utils.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -77,7 +79,7 @@ class GeofencingServiceTest : public testing::Test { |
void SetProviderForTests() { |
provider_ = new MockGeofencingProvider(); |
- service_->SetProviderForTesting(make_scoped_ptr(provider_)); |
+ service_->SetProviderForTesting(base::WrapUnique(provider_)); |
} |
int RegistrationCount() { return service_->RegistrationCountForTesting(); } |