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); |