DescriptionClear active tree scopes on StyleEngine::didDetach().
clearResolver() is not only called on didDetach(). Make it private and
name it clearResolvers to reflect that it clears scoped resolvers as
well. The comments related to style resolver reconstructruction is
removed as that does not happen anymore.
Clearing m_treeBoundaryCrossingScopes is moved into didDetach()
which was a more natural place.
Clear active and dirty tree scopes in didDetach to not unnecessarily
hang on to any memory associated with them.
These changes were done investigating issue 675533, but won't
necessarily fix anything for that issue.
BUG=567021, 675533
Committed: https://crrev.com/b0f03812c4f8ca50a0cc07caaca0c8eafbb2862a
Cr-Commit-Position: refs/heads/master@{#439973}
Patch Set 1 #Patch Set 2 : Rebased #
Depends on Patchset: Messages
Total messages: 18 (10 generated)
|