Index: ash/test/shelf_view_test_api.cc |
diff --git a/ash/test/shelf_view_test_api.cc b/ash/test/shelf_view_test_api.cc |
index 48d503b466179eaa6d9c70cad812910d2264c44c..1ab9dcbe074fa086993e4d81899a07f99ccc8800 100644 |
--- a/ash/test/shelf_view_test_api.cc |
+++ b/ash/test/shelf_view_test_api.cc |
@@ -24,7 +24,7 @@ class TestAPIAnimationObserver : public views::BoundsAnimatorObserver { |
// views::BoundsAnimatorObserver overrides: |
void OnBoundsAnimatorProgressed(views::BoundsAnimator* animator) override {} |
void OnBoundsAnimatorDone(views::BoundsAnimator* animator) override { |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
private: |