forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register and unregister CaptionManager listener in attach/detach
Main goal is make sure the listener is not left registered indefinitely in Android WebView, which does not guarantee ContentViewCore.destroy to be called. This is probably a good change for chrome as well. Tabs in the background should not care about caption changes. And now it no longer registers a listener per tab, which may be a super high number. BUG=457850, 469803 Review URL: https://codereview.chromium.org/1093353002 Cr-Commit-Position: refs/heads/master@{#326127}
- Loading branch information
boliu
authored and
Commit bot
committed
Apr 21, 2015
1 parent
cfe1892
commit ea6c309
Showing
4 changed files
with
32 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters