DescriptionRename Document::attach/detachLayoutTree to Document::initialize/shutdown
Document::attach/detachLayoutTree is confusing. It's indeed attaching/detaching
layout trees but doing more things than that. In particular, Document::detachLayoutTree
does a bunch of disruptive operations unlike other Node::detachLayoutTree.
It's better to rename Document::attach/detachLayoutTree to Document::initialize/shutdown
and make it clear that they can be called only once when the Document gets
initialized/shut down.
BUG=610176
Committed: https://crrev.com/47c70c581412441848e8c2373b8b30aab2d694eb
Cr-Commit-Position: refs/heads/master@{#417175}
Patch Set 1 #Patch Set 2 : temp #Patch Set 3 : temp #
Total comments: 2
Patch Set 4 : temp #Messages
Total messages: 23 (8 generated)
|