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

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

Issue 1962953002: Storage of ComputedStyle separate from LayoutObject. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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/NodeRareData.h
diff --git a/third_party/WebKit/Source/core/dom/NodeRareData.h b/third_party/WebKit/Source/core/dom/NodeRareData.h
index 5103db6194cbe99101c1a70726b6d6117c71ca65..e15503e994b0eec855083ff39544abec104d3df7 100644
--- a/third_party/WebKit/Source/core/dom/NodeRareData.h
+++ b/third_party/WebKit/Source/core/dom/NodeRareData.h
@@ -93,6 +93,8 @@ public:
--m_connectedFrameCount;
}
+ bool isElementRareData() const { return m_isElementRareData; }
esprehn 2016/08/05 21:26:26 you don't need this if you move computedStyle()/ s
+
bool hasElementFlag(ElementFlags mask) const { return m_elementFlags & mask; }
void setElementFlag(ElementFlags mask, bool value) { m_elementFlags = (m_elementFlags & ~mask) | (-(int32_t)value & mask); }
void clearElementFlag(ElementFlags mask) { m_elementFlags &= ~mask; }

Powered by Google App Engine
This is Rietveld 408576698