summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/cocoa_profile_test.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/cocoa_profile_test.mm')
-rw-r--r--chrome/browser/ui/cocoa/cocoa_profile_test.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/cocoa_profile_test.mm b/chrome/browser/ui/cocoa/cocoa_profile_test.mm
index 380805b..f4476fa 100644
--- a/chrome/browser/ui/cocoa/cocoa_profile_test.mm
+++ b/chrome/browser/ui/cocoa/cocoa_profile_test.mm
@@ -27,6 +27,7 @@ CocoaProfileTest::~CocoaProfileTest() {
// browser, since it may trigger accesses to the profile upon destruction.
browser_.reset();
+ message_loop_.RunAllPending();
// Some services created on the TestingProfile require deletion on the UI
// thread. If the scoper in TestingBrowserProcess, owned by ChromeTestSuite,
// were to delete the ProfileManager, the UI thread would at that point no