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

Issue 2414323002: Move AlreadySpellCheckedFlag from NodeFlags to ElementFlags (Closed)

Created:
4 years, 2 months ago by Xiaocheng
Modified:
4 years, 2 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, groby+blinkspell_chromium.org, rwlbuis, sof, timvolodine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move AlreadySpellCheckedFlag from NodeFlags to ElementFlags This patch moves the flag from NodeFlags to ElementFlags to make vacant space in NodeFlags. Currently, NodeFlags is full. BUG=655939 Committed: https://crrev.com/2acb119a211ed79d61f76b41070a209375140ff3 Cr-Commit-Position: refs/heads/master@{#425291}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Revise comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M third_party/WebKit/Source/core/dom/Element.h View 2 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 1 2 chunks +5 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Xiaocheng
4 years, 2 months ago (2016-10-14 09:04:00 UTC) #6
yosin_UTC9
lgtm Thanks for quick work!
4 years, 2 months ago (2016-10-14 09:10:12 UTC) #7
tkent
lgtm
4 years, 2 months ago (2016-10-14 09:10:48 UTC) #8
tkent
https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/dom/Node.h File third_party/WebKit/Source/core/dom/Node.h (right): https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/dom/Node.h#newcode843 third_party/WebKit/Source/core/dom/Node.h:843: // 0 bits remaining. Update the comment.
4 years, 2 months ago (2016-10-14 09:12:26 UTC) #9
tkent
https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp File third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp (right): https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp#newcode172 third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp:172: toElement(node).setAlreadySpellChecked(false); I realized this adds ElementRareData to every Elements ...
4 years, 2 months ago (2016-10-14 09:16:48 UTC) #10
Xiaocheng
https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp File third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp (right): https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp#newcode172 third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp:172: toElement(node).setAlreadySpellChecked(false); On 2016/10/14 at 09:16:47, tkent wrote: > I ...
4 years, 2 months ago (2016-10-14 09:20:12 UTC) #13
tkent
https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp File third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp (right): https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp#newcode172 third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp:172: toElement(node).setAlreadySpellChecked(false); Oh, you're right! So, ElementRareData is added to ...
4 years, 2 months ago (2016-10-14 09:26:05 UTC) #14
Xiaocheng
Thanks for the review. Modified the comment in Node.h into "1 bit remaining". Committing... https://codereview.chromium.org/2414323002/diff/1/third_party/WebKit/Source/core/dom/Node.h ...
4 years, 2 months ago (2016-10-14 09:49:35 UTC) #16
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/2414323002/20001
4 years, 2 months ago (2016-10-14 09:49:45 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-14 11:06:21 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/2acb119a211ed79d61f76b41070a209375140ff3 Cr-Commit-Position: refs/heads/master@{#425291}
4 years, 2 months ago (2016-10-14 11:08:07 UTC) #21
nainar
4 years, 2 months ago (2016-10-14 11:30:18 UTC) #22
Message was sent while issue was closed.
Thank you so much for this xiaochengh@!

Powered by Google App Engine
This is Rietveld 408576698