Index: content/browser/web_contents/web_contents_impl.cc |
=================================================================== |
--- content/browser/web_contents/web_contents_impl.cc (revision 269778) |
+++ content/browser/web_contents/web_contents_impl.cc (working copy) |
@@ -33,6 +33,7 @@ |
#include "content/browser/frame_host/navigator_impl.h" |
#include "content/browser/frame_host/render_frame_host_impl.h" |
#include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
+#include "content/browser/geolocation/geolocation_dispatcher_host.h" |
#include "content/browser/host_zoom_map_impl.h" |
#include "content/browser/loader/resource_dispatcher_host_impl.h" |
#include "content/browser/message_port_message_filter.h" |
@@ -1087,6 +1088,9 @@ |
registrar_.Add(this, |
NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED, |
NotificationService::AllBrowserContextsAndSources()); |
+ |
+ geolocation_dispatcher_host_.reset(new GeolocationDispatcherHost(this)); |
+ |
#if defined(OS_ANDROID) |
date_time_chooser_.reset(new DateTimeChooserAndroid()); |
#endif |