Chromium Code Reviews
DescriptionRemove some unnecessary calls to TestingProfile::DestroyHistoryService
Explicitly destroying the HistoryService may leave dependent services
with dangling pointers, and is generally not required (it'll get
destroyed during profile shutdown anyway).
This also adds a warning to TestingProfile::CreateHistoryService and
DestroyHistoryService, since they're generally not safe to use.
BUG=689055
Review-Url: https://codereview.chromium.org/2676303002
Cr-Commit-Position: refs/heads/master@{#448574}
Committed: https://chromium.googlesource.com/chromium/src/+/d8eebb4748e2c2bc2efe5bbcfd6a0d8fa0d0ddd4
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||