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

Unified Diff: content/public/test/test_frame_navigation_observer.cc

Issue 2523583003: Fix some flaky tests. (Closed)
Patch Set: Undo change in DOMMessageQueue. Created 4 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
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/public/test/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_frame_navigation_observer.cc
diff --git a/content/public/test/test_frame_navigation_observer.cc b/content/public/test/test_frame_navigation_observer.cc
index e5a19430143f939ecdbe9c60fbccd033db06f137..e16c7d9a3764e1a14add6307abddbd881d81a97b 100644
--- a/content/public/test/test_frame_navigation_observer.cc
+++ b/content/public/test/test_frame_navigation_observer.cc
@@ -33,7 +33,8 @@ TestFrameNavigationObserver::TestFrameNavigationObserver(
navigation_started_(false),
has_committed_(false),
wait_for_commit_(false),
- message_loop_runner_(new MessageLoopRunner) {
+ message_loop_runner_(
+ new MessageLoopRunner(MessageLoopRunner::QuitMode::IMMEDIATE)) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
}
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/public/test/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698