From b4304753ee2fd947a7adceddf648c185835fea28 Mon Sep 17 00:00:00 2001 From: "mad@chromium.org" <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Wed, 22 Feb 2012 19:41:58 +0000 Subject: Also delay regular profile destruction... A previous CL delayed the destruction of Off The Record profiles, but there are cases where they are delayed post destruction of their original profile... no good... So we now delay the destruction of both the off the record profile and it's original profile when either of them is still referenced by a render process host. BUG=114245 TEST=unittest --gtest_filter=ProfileDestroyerTest.* Review URL: http://codereview.chromium.org/9420036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123082 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/profiles/profile_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/profiles/profile_manager.h') diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h index 7d8b1b8..b770020 100644 --- a/chrome/browser/profiles/profile_manager.h +++ b/chrome/browser/profiles/profile_manager.h @@ -219,7 +219,7 @@ class ProfileManager : public base::NonThreadSafe, : profile(profile), created(created) { } - ~ProfileInfo() {} + ~ProfileInfo(); scoped_ptr<Profile> profile; // Whether profile has been fully loaded (created and initialized). -- cgit v1.1