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

Issue 2560673002: Change key of m_styleReattachDataMap to Node instead of Element (Closed)

Created:
4 years ago by nainar
Modified:
4 years ago
Reviewers:
sashab, 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

Change key of m_styleReattachDataMap to Node instead of Element This patch changed the m_styleReattachDataMap key from Element to Node which is needed so that we can store Text nodes and their nextTextSibling in this map as well. Not possible if key is Element. Need to store Text nodes as we need to pass information about the nextTextSibling between Text::recalcTextStyle and Text::rebuildTextLayoutTree. BUG=595137 Committed: https://crrev.com/ce6cb90916b41f6ef17ae157812ded93fdbd8812 Cr-Commit-Position: refs/heads/master@{#436873}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment #

Patch Set 3 : Add comment and check #

Patch Set 4 : Add comment and DCHECK #

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

Messages

Total messages: 36 (23 generated)
nainar
PTAL? Thanks!
4 years ago (2016-12-06 23:32:13 UTC) #4
Bugs Nash
On 2016/12/06 at 23:32:13, nainar wrote: > PTAL? > > Thanks! lgtm. Please include in ...
4 years ago (2016-12-07 02:06:17 UTC) #7
nainar
Done. Sending to sashab@ for OWNERS.
4 years ago (2016-12-07 02:32:51 UTC) #9
nainar
4 years ago (2016-12-07 02:33:05 UTC) #11
sashab
I don't think this has any performance or memory implications since it's just a pointer ...
4 years ago (2016-12-07 02:37:19 UTC) #12
sashab
Other than adding a comment to make future changes like this easier, lgtm
4 years ago (2016-12-07 02:37:39 UTC) #13
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/2560673002/20001
4 years ago (2016-12-07 02:45:42 UTC) #17
sashab
Great great comment. Did you want to add a DCHECK somewhere that ensures its only ...
4 years ago (2016-12-07 02:49:43 UTC) #18
Bugs Nash
On 2016/12/07 at 02:49:43, sashab wrote: > Great great comment. Did you want to add ...
4 years ago (2016-12-07 02:52:39 UTC) #19
Bugs Nash
On 2016/12/07 at 02:52:39, Bugs Nash wrote: > On 2016/12/07 at 02:49:43, sashab wrote: > ...
4 years ago (2016-12-07 02:53:48 UTC) #20
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/2560673002/60001
4 years ago (2016-12-07 05:32:11 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-07 05:37:13 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-07 05:41:12 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ce6cb90916b41f6ef17ae157812ded93fdbd8812
Cr-Commit-Position: refs/heads/master@{#436873}

Powered by Google App Engine
This is Rietveld 408576698