Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: content/browser/geolocation/geolocation_dispatcher_host.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR, fix a weird runtime issue. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/geolocation/geolocation_dispatcher_host.cc
diff --git a/content/browser/geolocation/geolocation_dispatcher_host.cc b/content/browser/geolocation/geolocation_dispatcher_host.cc
index 78b739231f36ea32e92f3757188b91660944b31b..de2664e7b13cd72057d6acb07fb918c0ae293245 100644
--- a/content/browser/geolocation/geolocation_dispatcher_host.cc
+++ b/content/browser/geolocation/geolocation_dispatcher_host.cc
@@ -31,7 +31,8 @@ void NotifyArbitratorPermissionGranted(
void SendGeolocationPermissionResponse(
const GURL& requesting_frame, int render_process_id, int render_view_id,
int bridge_id, bool allowed) {
- RenderViewHost* r = RenderViewHost::FromID(render_process_id, render_view_id);
+ RenderViewHostImpl* r = RenderViewHostImpl::FromID(
+ render_process_id, render_view_id);
if (!r)
return;
r->Send(new GeolocationMsg_PermissionSet(render_view_id, bridge_id, allowed));

Powered by Google App Engine
This is Rietveld 408576698