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

Unified Diff: chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc

Issue 11183018: Refactor ChromeGeolocationPermissionContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing unit tests Created 8 years, 2 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/geolocation/chrome_geolocation_permission_context_unittest.cc
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
index e7a8a7983c6fe60f9404a76fc85b1144038e1d16..6fb93f417ae62783ed95d0e0165083d65111cf23 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
@@ -247,7 +247,7 @@ void GeolocationPermissionContextTests::SetUp() {
db_thread_.Start();
TabContentsTestHarness::SetUp();
geolocation_permission_context_ =
- new ChromeGeolocationPermissionContext(profile());
+ ChromeGeolocationPermissionContext::Create(profile());
}
void GeolocationPermissionContextTests::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698