Chromium Code Reviews
DescriptionTestBrowserThreads must outlive TestProfiles and TestProfileManagers
Otherwise they trigger an unhappy DCHECK that verifies that profiles
are destroyed on the UI thread.
This is a pre-requirement for https://codereview.chromium.org/2464233002
which will reset global BrowserThread state in ~BrowserThreadImpl()
The incorrect destruction order previously "worked" because BrowserThread
globals weren't cleaned up in between tests...
BUG=653916
Committed: https://crrev.com/57d179c25000b2764d97096a7bfa910e9ffba89a
Cr-Commit-Position: refs/heads/master@{#434061}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 13 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||