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

Unified Diff: chrome/browser/renderer_host/resource_message_filter.cc

Issue 2742002: Clean up geolocation_dispatcher_host.h (Closed)
Patch Set: Further simplification - remove incorrect reference to UI thread, pin everything in the IO thread Created 10 years, 6 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/renderer_host/resource_message_filter.cc
diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc
index 2170c78ddb37267390f389bbed4a24e3affb46ef..61ac3d11d4cf99752bd96c7688c477a09bf4e483 100755
--- a/chrome/browser/renderer_host/resource_message_filter.cc
+++ b/chrome/browser/renderer_host/resource_message_filter.cc
@@ -342,7 +342,7 @@ ResourceMessageFilter::ResourceMessageFilter(
next_route_id_callback_(NewCallbackWithReturnValue(
render_widget_helper, &RenderWidgetHelper::GetNextRoutingID)),
ALLOW_THIS_IN_INITIALIZER_LIST(geolocation_dispatcher_host_(
- new GeolocationDispatcherHost(
+ GeolocationDispatcherHost::New(
this->id(), profile->GetGeolocationPermissionContext()))) {
DCHECK(request_context_);
DCHECK(media_request_context_);

Powered by Google App Engine
This is Rietveld 408576698