| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 231b59df698d8b910fade41fff627e4838528f7f..cb75d2fca41f19156b6350dedc43e392bfdbdb50 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -51,7 +51,6 @@
|
| #include "content/browser/fileapi/chrome_blob_storage_context.h"
|
| #include "content/browser/fileapi/fileapi_message_filter.h"
|
| #include "content/browser/frame_host/render_frame_message_filter.h"
|
| -#include "content/browser/geolocation/geolocation_dispatcher_host.h"
|
| #include "content/browser/gpu/compositor_util.h"
|
| #include "content/browser/gpu/gpu_data_manager_impl.h"
|
| #include "content/browser/gpu/gpu_process_host.h"
|
| @@ -654,12 +653,13 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| g_browser_plugin_geolocation_context.Get() =
|
| new BrowserPluginGeolocationPermissionContext();
|
| }
|
| - AddFilter(GeolocationDispatcherHost::New(
|
| - GetID(), g_browser_plugin_geolocation_context.Get().get()));
|
| + geolocation_dispatcher_host_ = GeolocationDispatcherHost::New(
|
| + GetID(), g_browser_plugin_geolocation_context.Get().get());
|
| } else {
|
| - AddFilter(GeolocationDispatcherHost::New(
|
| - GetID(), browser_context->GetGeolocationPermissionContext()));
|
| + geolocation_dispatcher_host_ = GeolocationDispatcherHost::New(
|
| + GetID(), browser_context->GetGeolocationPermissionContext());
|
| }
|
| + AddFilter(geolocation_dispatcher_host_);
|
| gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
|
| AddFilter(gpu_message_filter_);
|
| #if defined(ENABLE_WEBRTC)
|
|
|