DescriptionAlso 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.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123082
Got reverted because of failures in extension api tests, so trying again with fix in extension tests to avoid an infobar leak, which was keeping a render process host alive for too long and causing an assert that not all profiles were destroyed...
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138038
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : Now making sure the profiler manager is destroyed in the UI thread. #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : Rebase / Merge #Patch Set 8 : Now handle TestProfile correctly #Patch Set 9 : Sync #Patch Set 10 : Merge Goof fix... #Messages
Total messages: 39 (0 generated)
|