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

Unified Diff: content/components/navigation_interception/intercept_navigation_resource_throttle.cc

Issue 11417061: [android_webview] Enable navigation interception for iframes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Mikhail's comments Created 8 years, 1 month 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/components/navigation_interception/intercept_navigation_resource_throttle.cc
diff --git a/content/components/navigation_interception/intercept_navigation_resource_throttle.cc b/content/components/navigation_interception/intercept_navigation_resource_throttle.cc
index 894fb0c1a98f20dd74e37f96891f92496961f611..68a67e2c713f9ff370b80689e287fabb4c3fbf68 100644
--- a/content/components/navigation_interception/intercept_navigation_resource_throttle.cc
+++ b/content/components/navigation_interception/intercept_navigation_resource_throttle.cc
@@ -94,9 +94,6 @@ bool InterceptNavigationResourceThrottle::CheckIfShouldIgnoreNavigation(
if (!info->GetAssociatedRenderView(&render_process_id, &render_view_id))
return false;
- // This class should only be instantiated for top level frame requests.
- DCHECK(info->IsMainFrame());
-
ShouldIgnoreCallbackParams params;
params.render_process_id = render_process_id;
params.render_view_id = render_view_id;

Powered by Google App Engine
This is Rietveld 408576698