Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 59a60dc30368c59a007a4977c004225c0132f7e4..768131c981f9a3bf7e179be4470bcb831bbabbf2 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -335,6 +335,22 @@ void Node::clearRareData() |
clearFlag(HasRareDataFlag); |
} |
+bool Node::hasRestyleFlagInternal(DynamicRestyleFlags mask) const |
+{ |
+ return rareData()->hasRestyleFlag(mask); |
+} |
+ |
+bool Node::hasRestyleFlagsInternal() const |
+{ |
+ return rareData()->hasRestyleFlags(); |
+} |
+ |
+void Node::setRestyleFlag(DynamicRestyleFlags mask) |
+{ |
+ ASSERT(isElementNode() || isShadowRoot()); |
+ ensureRareData().setRestyleFlag(mask); |
+} |
+ |
Node* Node::toNode() |
{ |
return this; |