Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 1cea9f19d631990c417efed6d1cd5127c968a9df..896e5edfac677cecb1d1b8603e71360ebdede6cc 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -407,12 +407,8 @@ public: |
bool isV8CollectableDuringMinorGC() const { return getFlag(V8CollectableDuringMinorGCFlag); } |
void setV8CollectableDuringMinorGC(bool flag) { setFlag(flag, V8CollectableDuringMinorGCFlag); } |
- enum ShouldSetAttached { |
- SetAttached, |
- DoNotSetAttached |
- }; |
- void lazyAttach(ShouldSetAttached = SetAttached); |
- void lazyReattach(ShouldSetAttached = SetAttached); |
+ void lazyAttach(); |
+ void lazyReattach(); |
virtual void setFocus(bool flag); |
virtual void setActive(bool flag = true, bool pause = false); |
@@ -913,7 +909,7 @@ inline void Node::lazyReattachIfAttached() |
lazyReattach(); |
} |
-inline void Node::lazyReattach(ShouldSetAttached shouldSetAttached) |
+inline void Node::lazyReattach() |
{ |
if (styleChangeType() == LazyAttachStyleChange) |
return; |
@@ -923,7 +919,7 @@ inline void Node::lazyReattach(ShouldSetAttached shouldSetAttached) |
if (attached()) |
detach(context); |
- lazyAttach(shouldSetAttached); |
+ lazyAttach(); |
} |
inline bool shouldRecalcStyle(StyleRecalcChange change, const Node* node) |