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

Unified Diff: content/test/content_browser_test_utils_internal.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/public/test/test_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_browser_test_utils_internal.cc
diff --git a/content/test/content_browser_test_utils_internal.cc b/content/test/content_browser_test_utils_internal.cc
index f7fcfe4d17208802fec37e0d8b66770990e86a1b..392439525ba2bc8451d4dc5720447e0382d6d94b 100644
--- a/content/test/content_browser_test_utils_internal.cc
+++ b/content/test/content_browser_test_utils_internal.cc
@@ -379,7 +379,9 @@ UrlCommitObserver::UrlCommitObserver(FrameTreeNode* frame_tree_node,
->GetAsWebContents()),
frame_tree_node_id_(frame_tree_node->frame_tree_node_id()),
url_(url),
- message_loop_runner_(new MessageLoopRunner) {}
+ message_loop_runner_(
+ new MessageLoopRunner(MessageLoopRunner::QuitMode::IMMEDIATE)) {
+}
UrlCommitObserver::~UrlCommitObserver() {}
« no previous file with comments | « content/public/test/test_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698