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

Unified Diff: content/test/web_contents_observer_sanity_checker.cc

Issue 2663333004: Convert dom_distiller::WebContentsMainFrameObserver to use the new navigation callbacks. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/web_contents_observer_sanity_checker.cc
diff --git a/content/test/web_contents_observer_sanity_checker.cc b/content/test/web_contents_observer_sanity_checker.cc
index ae9af67dc0e60f3940fa47bb76bd591838b4b08f..c84c2712304fefc64d65249fe38368116e6af14e 100644
--- a/content/test/web_contents_observer_sanity_checker.cc
+++ b/content/test/web_contents_observer_sanity_checker.cc
@@ -127,7 +127,8 @@ void WebContentsObserverSanityChecker::RenderFrameHostChanged(
EnsureStableParentValue(new_host);
if (new_host->GetParent()) {
- AssertRenderFrameExists(new_host->GetParent());
+ //
+ //AssertRenderFrameExists(new_host->GetParent());
nyquist 2017/02/01 07:10:04 It looks from the comments in the test code that t
jam 2017/02/01 15:31:04 Ooops, thanks fixed.
CHECK(current_hosts_.count(GetRoutingPair(new_host->GetParent())))
<< "Parent of frame being committed must be current.";
}
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698