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

Unified Diff: chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc

Issue 2564943002: Reland "Add thread checking to RunLoop, deprecate MessageLoopRunner. (patchset #4 id:20002 of https… (Closed)
Patch Set: Created 4 years 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: chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
diff --git a/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc b/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
index 820ab2c68f0b103bfc527273895225e2d085daa2..069af32cdc0335559311c4a2274378a8786588a0 100644
--- a/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
+++ b/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
@@ -213,7 +213,7 @@ class TabScrubberTest : public InProcessBrowserTest,
private:
void RunUntilTabActive(Browser* browser, int target) {
base::RunLoop run_loop;
- quit_closure_ = content::GetQuitTaskForRunLoop(&run_loop);
+ quit_closure_ = content::GetDeferredQuitTaskForRunLoop(&run_loop);
browser->tab_strip_model()->AddObserver(this);
target_index_ = target;
content::RunThisRunLoop(&run_loop);
« no previous file with comments | « chrome/browser/sync_file_system/sync_file_system_service_unittest.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698