mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
![Jonathan Kew](/assets/img/avatar_default.png)
For clarity, we refactor body of the loop-over-continuations in nsTextFrame::GetRenderedText into a helper method AppendRenderedText that handles a single continuation in the chain. This avoids the footgun of an nsTextFrame method iterating over its continuations (using the textFrame variable) but potentially calling methods of the primary frame within the loop, instead of the current frame being processed. Differential Revision: https://phabricator.services.mozilla.com/D225686