summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/geolocation_dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/geolocation_dispatcher.cc')
-rw-r--r--chrome/renderer/geolocation_dispatcher.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/geolocation_dispatcher.cc b/chrome/renderer/geolocation_dispatcher.cc
index f7f827f..227add0 100644
--- a/chrome/renderer/geolocation_dispatcher.cc
+++ b/chrome/renderer/geolocation_dispatcher.cc
@@ -39,13 +39,13 @@ bool GeolocationDispatcher::OnMessageReceived(const IPC::Message& message) {
void GeolocationDispatcher::requestPermissionForFrame(
int bridge_id, const WebKit::WebURL& url) {
render_view_->Send(new ViewHostMsg_Geolocation_RequestPermission(
- render_view_->routing_id(), bridge_id, GURL(url).host()));
+ render_view_->routing_id(), bridge_id, GURL(url)));
}
void GeolocationDispatcher::startUpdating(
int bridge_id, const WebKit::WebURL& url, bool enableHighAccuracy) {
render_view_->Send(new ViewHostMsg_Geolocation_StartUpdating(
- render_view_->routing_id(), bridge_id, GURL(url).host(),
+ render_view_->routing_id(), bridge_id, GURL(url),
enableHighAccuracy));
}