Chromium Code Reviews
DescriptionOnly setup distillability mojo if needed
Prevent extra calls to set up mojo for Reader Mode's distillability
logic. Currently the distillability service is set up for any
RenderFrameHost that changes (this is not necessarily the main frame)
and even if the old service is still alive. This change starts
watching for when the service is killed and avoids service setup on
non-main frame hosts.
BUG=623979
Review-Url: https://codereview.chromium.org/2131343002
Cr-Commit-Position: refs/heads/master@{#404678}
(cherry picked from commit 70bb9fd22cc806498fc63a5749fdaaaea7354564)
Committed: https://chromium.googlesource.com/chromium/src/+/74bcb27419c3d35e16fffc977ceb32466f5d53b8
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||