Index: third_party/WebKit/Source/core/dom/Element.h |
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h |
index 3733b523b04a9678c891dad2714e5d71758c92cb..51e4cf640bd4f30cdcc9510a24a0637d51fae500 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -161,6 +161,16 @@ class CORE_EXPORT Element : public ContainerNode { |
void setFloatingPointAttribute(const QualifiedName& attributeName, |
double value); |
+ // TODO: This is the wrong approach, but gets the job done. Find a more |
+ // appropriate way of doing the same thing. |
+ bool forceReattachDuringStyleRecalc() { |
+ bool r = m_forceReattach; |
+ m_forceReattach = false; |
esprehn
2016/12/10 02:20:55
You don't need any of this. lazyReattach does the
|
+ return r; |
+ } |
+ void setForceReattach() { m_forceReattach = true; } |
+ bool m_forceReattach = false; |
+ |
// Call this to get the value of an attribute that is known not to be the |
// style attribute or one of the SVG animatable attributes. |
bool fastHasAttribute(const QualifiedName&) const; |