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

Unified Diff: content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc

Issue 13712002: Fix Guest geolocation API, we were using |bridge_id| and |request_id| interchangeably which is wron… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 8 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/browser_plugin/browser_plugin_geolocation_permission_context.cc
diff --git a/content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc b/content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc
index 59a23b58225043ebfbc216875ab66e0e92e156ee..8a803c4712058bfa89e25f400d99fc12c15ad6d8 100644
--- a/content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc
+++ b/content/browser/browser_plugin/browser_plugin_geolocation_permission_context.cc
@@ -49,7 +49,6 @@ void BrowserPluginGeolocationPermissionContext::RequestGeolocationPermission(
// have geolocation access.
RenderViewHost* rvh = RenderViewHost::FromID(render_process_id,
render_view_id);
- DCHECK(rvh);
if (rvh) {
DCHECK(rvh->GetProcess()->IsGuest());
WebContentsImpl* guest_web_contents =

Powered by Google App Engine
This is Rietveld 408576698