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_); |