Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 1769683002: TextIteratorAlgorithm should not force layout update in constructor. (Closed)

Created:
4 years, 9 months ago by dglazkov
Modified:
4 years, 9 months ago
Reviewers:
esprehn, ojan
CC:
blink-reviews, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, groby+blinkspell_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

TextIteratorAlgorithm should not force layout update in constructor. 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. This is a re-land of https://crrev.com/4ed5e3b54598950731022926b09fdc8742abea74. BUG=590295 R=esprehn Committed: https://crrev.com/3576860f06d835f699521bccbb134b65d7326dca Cr-Commit-Position: refs/heads/master@{#379408}

Patch Set 1 #

Messages

Total messages: 16 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769683002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769683002/1
4 years, 9 months ago (2016-03-04 22:27:18 UTC) #2
ojan
lgtm
4 years, 9 months ago (2016-03-04 22:34:58 UTC) #6
esprehn
lgtm
4 years, 9 months ago (2016-03-04 22:53:51 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-05 00:10:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769683002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769683002/1
4 years, 9 months ago (2016-03-05 00:11:16 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-05 00:19:58 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/3576860f06d835f699521bccbb134b65d7326dca Cr-Commit-Position: refs/heads/master@{#379408}
4 years, 9 months ago (2016-03-05 00:21:04 UTC) #15
dglazkov
4 years, 9 months ago (2016-03-08 02:31:59 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1772223002/ by dglazkov@chromium.org.

The reason for reverting is: Caused several fun crashes and security bugs..

Powered by Google App Engine
This is Rietveld 408576698