| Index: content/renderer/geolocation_dispatcher.cc
|
| diff --git a/content/renderer/geolocation_dispatcher.cc b/content/renderer/geolocation_dispatcher.cc
|
| index 91bd5409c3eb1adf6cbbf35ea406e7f0a56ef2b3..a099a3d96d5741dea16c27ff41ec233d0fb55df2 100644
|
| --- a/content/renderer/geolocation_dispatcher.cc
|
| +++ b/content/renderer/geolocation_dispatcher.cc
|
| @@ -89,16 +89,10 @@ void GeolocationDispatcher::requestPermission(
|
| blink::WebUserGestureIndicator::isProcessingUserGesture()));
|
| }
|
|
|
| -// TODO(jknotten): Change the messages to use a security origin, so no
|
| -// conversion is necessary.
|
| void GeolocationDispatcher::cancelPermissionRequest(
|
| const WebGeolocationPermissionRequest& permissionRequest) {
|
| int bridge_id;
|
| - if (!pending_permissions_->remove(permissionRequest, bridge_id))
|
| - return;
|
| - base::string16 origin = permissionRequest.securityOrigin().toString();
|
| - Send(new GeolocationHostMsg_CancelPermissionRequest(
|
| - routing_id(), bridge_id, GURL(origin)));
|
| + pending_permissions_->remove(permissionRequest, bridge_id);
|
| }
|
|
|
| // Permission for using geolocation has been set.
|
|
|