commit | b8afde415b1ea71b783db1b1858c1ebb451f6a5a | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 29 03:55:40 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 29 03:55:40 2013 |
tree | 1147af08acaa9771f7402775872a8c42b7d089c9 | |
parent | 0fdf31a0c37d57cc73514abbdd79aca1f49e251e [diff] [blame] |
Run the MessageLoop longer in order to clear out extra DeleteSoon()s. Also revert the leak suppression (r202589) so we'll know if this didn't fix the problem. BUG=244446 Review URL: https://chromiumcodereview.appspot.com/16133011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202768 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/test_extension_environment.cc b/chrome/browser/extensions/test_extension_environment.cc index 5d207de..4ff5e93 100644 --- a/chrome/browser/extensions/test_extension_environment.cc +++ b/chrome/browser/extensions/test_extension_environment.cc
@@ -38,9 +38,7 @@ profile_.reset(); // Delete the profile, and then cycle the message loop to clear // out delayed deletions. - base::RunLoop run_loop; - loop_.PostTask(FROM_HERE, run_loop.QuitClosure()); - run_loop.Run(); + base::RunLoop().RunUntilIdle(); } TestingProfile* TestExtensionEnvironment::profile() const {