Chromium Code Reviews
DescriptionFix a used-after-free caused by an unremoved Observer.
ProfileInfoHandler starts observing the ProfileInfoCache when it receives the
JavascriptAllowed event and stops on JavascriptDisallowed, which isn't always
called. This CL uses ScopedObserver to ensure ProfileInfoHandler instances are
never freed without removing themselves as Observers.
BUG=607921
Committed: https://crrev.com/7426febf7c71bba00d58289d4066753012a04d81
Cr-Commit-Position: refs/heads/master@{#391320}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address feedback #
Messages
Total messages: 13 (7 generated)
|
||||||||||||||||||||||||||||