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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2414323002: Move AlreadySpellCheckedFlag from NodeFlags to ElementFlags (Closed)
Patch Set: Revise comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index d058ecf64fd38205cc828e79db15d31a5971b5ff..6bfe36cbb01af071b8949d8083c07ab584ee41f8 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -765,11 +765,6 @@ class CORE_EXPORT Node : public EventTarget {
HTMLSlotElement* assignedSlot() const;
HTMLSlotElement* assignedSlotForBinding();
- void setAlreadySpellChecked(bool flag) {
- setFlag(flag, AlreadySpellCheckedFlag);
- }
- bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
-
bool isFinishedParsingChildren() const {
return getFlag(IsFinishedParsingChildrenFlag);
}
@@ -835,18 +830,17 @@ class CORE_EXPORT Node : public EventTarget {
HasWeakReferencesFlag = 1 << 24,
V8CollectableDuringMinorGCFlag = 1 << 25,
HasEventTargetDataFlag = 1 << 26,
- AlreadySpellCheckedFlag = 1 << 27,
- V0CustomElementFlag = 1 << 28,
- V0CustomElementUpgradedFlag = 1 << 29,
+ V0CustomElementFlag = 1 << 27,
+ V0CustomElementUpgradedFlag = 1 << 28,
- NeedsReattachLayoutTree = 1 << 30,
- ChildNeedsReattachLayoutTree = 1 << 31,
+ NeedsReattachLayoutTree = 1 << 29,
+ ChildNeedsReattachLayoutTree = 1 << 30,
DefaultNodeFlags = IsFinishedParsingChildrenFlag | NeedsReattachStyleChange
};
- // 0 bits remaining.
+ // 1 bit remaining.
bool getFlag(NodeFlags mask) const { return m_nodeFlags & mask; }
void setFlag(bool f, NodeFlags mask) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698