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

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

Issue 2119263002: [DO NOT LAND: Dummy CL] Storage of ComputedStyle separate from LayoutObject. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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.cpp
diff --git a/third_party/WebKit/Source/core/dom/NodeRareData.cpp b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
index 9b60294078ea8b616eea30788713dc43b17fbd64..ce200b37f26eb6cbbfdd2e66663d5d4a8d26249a 100644
--- a/third_party/WebKit/Source/core/dom/NodeRareData.cpp
+++ b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
@@ -58,7 +58,7 @@ DEFINE_TRACE_AFTER_DISPATCH(NodeRareData)
DEFINE_TRACE(NodeRareData)
{
- if (m_isElementRareData)
+ if (isElementRareData())
static_cast<ElementRareData*>(this)->traceAfterDispatch(visitor);
else
traceAfterDispatch(visitor);
@@ -66,7 +66,7 @@ DEFINE_TRACE(NodeRareData)
DEFINE_TRACE_WRAPPERS(NodeRareData)
{
- if (m_isElementRareData)
+ if (isElementRareData())
static_cast<const ElementRareData*>(this)->traceWrappersAfterDispatch(visitor);
else
traceWrappersAfterDispatch(visitor);
@@ -81,7 +81,7 @@ DEFINE_TRACE_WRAPPERS_AFTER_DISPATCH(NodeRareData)
void NodeRareData::finalizeGarbageCollectedObject()
{
RELEASE_ASSERT(!layoutObject());
- if (m_isElementRareData)
+ if (isElementRareData())
static_cast<ElementRareData*>(this)->~ElementRareData();
else
this->~NodeRareData();
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeRareData.h ('k') | third_party/WebKit/Source/core/html/HTMLOptGroupElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698