Commit 512101fa authored by vandebo@chromium.org's avatar vandebo@chromium.org

Speculative fix for memory leak in media galleries preferences unit test.

BUG=141322


Review URL: https://chromiumcodereview.appspot.com/10855132

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151382 0039d316-1c4b-4281-b951-d872f2087c98
parent 1af65ea9
......@@ -48,6 +48,7 @@ class MediaGalleriesPreferencesTest : public testing::Test {
virtual ~MediaGalleriesPreferencesTest() {
// TestExtensionSystem uses DeleteSoon, so we need to delete the profile
// and then run the message queue to clean up.
MessageLoop::current()->RunAllPending();
profile_.reset();
MessageLoop::current()->RunAllPending();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment