Chromium Code Reviews
Descriptioncontacts: Add ContactManagerInterface::GetWeakPtr().
The ContactManager singleton is destroyed in
PostMainMessageLoopRun(), which appears to run before the
(not-yet-checked-in) ContactProvider class is destroyed in
response to the user profile being destroyed. This change
lets ContactProvider hold a weak pointer to ContactManager
so it can avoid accessing it during shutdown.
I'm also renaming a couple of references to "partial
updates" to "incremental updates" for consistency.
BUG=128805, 141877
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154327
Patch Set 1 #Patch Set 2 : update a comment #
Total comments: 6
Patch Set 3 : merge #Patch Set 4 : apply review feedback #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||