Chromium Code Reviews
Description[CCT-Reparenting] Remove tab observer when the tab is removed from model
In tab reparenting, we never close but only remove the tab from the
model. During this process, both tab observer and also the metrics
observer was still kept, which leaked over some custom tab features into
the tab even after it was reparented. This removes the observers and
fixes the related issues.
TEST=CustomTabActivityTest#testTabReparentingBasic
BUG=669169
Committed: https://crrev.com/7810c370957e89c47198cb52e3bd09d03193f956
Cr-Commit-Position: refs/heads/master@{#435028}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|
||||||||||||||||||||||||||||