Chromium Code Reviews
DescriptionTextIteratorAlgorithm should not force layout update in constructor.
This is a third attempt at landing this (which time is the charm? I forget). Yay!
Asking to update layout should not be done at this level -- updating layout is part of the document/view lifecycle and should be coordinated at a higher level than an iterator constructor.
Thus, move calling Document::updateLayoutIgnorePendingStylesheets up to the callsites of the TextIterator constructor. These callsites should be audited and moved up even farther up the call stack.
BUG=590295
R=esprehn,yosin
Committed: https://crrev.com/a3eecad9b893616b8666e11da69d6ea28c85b6bf
Cr-Commit-Position: refs/heads/master@{#389355}
Patch Set 1 #Messages
Total messages: 14 (6 generated)
|