Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 4f992921432e2a129ddf8649fefa09e05f7d7939..65a0ab4b897c3bf026c532bc4b5ebfe936e60ffa 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -705,7 +705,7 @@ content::GeolocationPermissionContext* |
TestingProfile::GetGeolocationPermissionContext() { |
if (!geolocation_permission_context_.get()) { |
geolocation_permission_context_ = |
- new ChromeGeolocationPermissionContext(this); |
+ ChromeGeolocationPermissionContext::Create(this); |
} |
return geolocation_permission_context_.get(); |
} |