| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index b553cb8a000195f649ac980c42508ce57cd94117..6a28c65fe78c7ead873ac897900a16fe8fff5885 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -384,7 +384,7 @@ void TestingProfile::DestroyTopSites() {
|
| // to be run to properly shutdown. Run all pending tasks now. This is
|
| // normally handled by browser_process shutdown.
|
| if (MessageLoop::current())
|
| - MessageLoop::current()->RunAllPending();
|
| + MessageLoop::current()->RunUntilIdle();
|
| }
|
| }
|
|
|
|
|