DescriptionFixes a DCHECK in tools_menu_button_observer_bridge during tests
A DCHECK was observed during omnibox_perftest. It traces down to
-[ToolsMenuButtonObserverBridge readingListModelBeingDeleted:] being
called twice and the second call triggered the DCHECK.
DependencyManager::DestroyContextServices() calls ContextShutdown()
and then ContextDestroyed() on all dependencies. Each of the call
entered -readingListModelBeingDeleted: because there is no distinction
between Shutdown and Destroyed.
BUG=717300
Review-Url: https://codereview.chromium.org/2863303002
Cr-Commit-Position: refs/heads/master@{#472825}
Committed: https://chromium.googlesource.com/chromium/src/+/52ab15efe9499088cd3c2a2474887671630b0311
Patch Set 1 #Patch Set 2 : fixed component_unittests #
Total comments: 6
Patch Set 3 : delete unnecessary implementation of Shutdown() #
Messages
Total messages: 17 (7 generated)
|