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

Issue 2421793002: Move layout tree reconstruction code for Text nodes into new function (Closed)

Created:
4 years, 2 months ago by nainar
Modified:
4 years, 1 month ago
Reviewers:
esprehn, Bugs Nash
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move layout tree reconstruction code for Text nodes into new function This code moves the Layout Tree construction code for Text nodes into Text::rebuildTextLayoutTree() BUG=595137 Committed: https://crrev.com/a4805a287ac79834a932f44c87791a7b9322ede8 Cr-Commit-Position: refs/heads/master@{#427967}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Bugs' changes #

Total comments: 5

Patch Set 3 : Addressing bugsnash@ comments #

Total comments: 4

Patch Set 4 : Addressing Bugs' comments #

Total comments: 4

Patch Set 5 : Edits post Elliott's lgtm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M third_party/WebKit/Source/core/dom/Text.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Text.cpp View 1 2 3 4 1 chunk +8 lines, -4 lines 0 comments Download

Messages

Total messages: 41 (26 generated)
nainar
bugsnash, PTAL? Thanks!
4 years, 2 months ago (2016-10-14 03:51:47 UTC) #5
Bugs Nash
https://codereview.chromium.org/2421793002/diff/1/third_party/WebKit/Source/core/dom/Text.cpp File third_party/WebKit/Source/core/dom/Text.cpp (right): https://codereview.chromium.org/2421793002/diff/1/third_party/WebKit/Source/core/dom/Text.cpp#newcode405 third_party/WebKit/Source/core/dom/Text.cpp:405: if (needsStyleRecalc() || needsWhitespaceLayoutObject()) { needsStyleRecalc() probably shouldn't be ...
4 years, 2 months ago (2016-10-14 03:58:18 UTC) #6
nainar
Made the changes you asked for. PTAL? Thanks! https://codereview.chromium.org/2421793002/diff/1/third_party/WebKit/Source/core/dom/Text.h File third_party/WebKit/Source/core/dom/Text.h (right): https://codereview.chromium.org/2421793002/diff/1/third_party/WebKit/Source/core/dom/Text.h#newcode57 third_party/WebKit/Source/core/dom/Text.h:57: void ...
4 years, 2 months ago (2016-10-14 07:22:41 UTC) #11
Bugs Nash
On 2016/10/14 at 07:22:41, nainar wrote: > Made the changes you asked for. PTAL? Thanks! ...
4 years, 2 months ago (2016-10-17 02:20:37 UTC) #14
Bugs Nash
https://codereview.chromium.org/2421793002/diff/20001/third_party/WebKit/Source/core/dom/Text.cpp File third_party/WebKit/Source/core/dom/Text.cpp (right): https://codereview.chromium.org/2421793002/diff/20001/third_party/WebKit/Source/core/dom/Text.cpp#newcode401 third_party/WebKit/Source/core/dom/Text.cpp:401: setNeedsReattachLayoutTree(); probably don't need to implement this yet, not ...
4 years, 2 months ago (2016-10-17 02:20:52 UTC) #15
nainar
It seems that I am misunderstanding what you mean here so have added comments inline ...
4 years, 2 months ago (2016-10-17 16:57:31 UTC) #18
Bugs Nash
https://codereview.chromium.org/2421793002/diff/40001/third_party/WebKit/Source/core/dom/Text.cpp File third_party/WebKit/Source/core/dom/Text.cpp (right): https://codereview.chromium.org/2421793002/diff/40001/third_party/WebKit/Source/core/dom/Text.cpp#newcode400 third_party/WebKit/Source/core/dom/Text.cpp:400: setNeedsReattachLayoutTree(); I understand that you want to set flags ...
4 years, 2 months ago (2016-10-18 23:19:14 UTC) #21
nainar
PTAL? Thanks! https://codereview.chromium.org/2421793002/diff/40001/third_party/WebKit/Source/core/dom/Text.cpp File third_party/WebKit/Source/core/dom/Text.cpp (right): https://codereview.chromium.org/2421793002/diff/40001/third_party/WebKit/Source/core/dom/Text.cpp#newcode400 third_party/WebKit/Source/core/dom/Text.cpp:400: setNeedsReattachLayoutTree(); Yup I understand. Made the change. ...
4 years, 1 month ago (2016-10-26 05:08:55 UTC) #24
Bugs Nash
lgtm
4 years, 1 month ago (2016-10-27 00:16:56 UTC) #27
nainar
To Elliott for OWNERS
4 years, 1 month ago (2016-10-27 00:18:21 UTC) #29
esprehn
lgtm, btw you should start adding DCHECKs about the dirty bits whenever possible in the ...
4 years, 1 month ago (2016-10-27 02:06:07 UTC) #30
nainar
https://codereview.chromium.org/2421793002/diff/60001/third_party/WebKit/Source/core/dom/Text.cpp File third_party/WebKit/Source/core/dom/Text.cpp (right): https://codereview.chromium.org/2421793002/diff/60001/third_party/WebKit/Source/core/dom/Text.cpp#newcode404 third_party/WebKit/Source/core/dom/Text.cpp:404: void Text::rebuildTextLayoutTree(Text* nextTextSibling) { We can't assert that here ...
4 years, 1 month ago (2016-10-27 03:32:14 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2421793002/80001
4 years, 1 month ago (2016-10-27 06:49:57 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-27 08:49:24 UTC) #39
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 08:54:19 UTC) #41
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a4805a287ac79834a932f44c87791a7b9322ede8
Cr-Commit-Position: refs/heads/master@{#427967}

Powered by Google App Engine
This is Rietveld 408576698