| Index: Source/core/dom/Node.h
|
| diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
|
| index b571f9c6015090bfbb0c355170c756eb8119f838..e848027a9821be05c57cabe2a825fbca53b17ede 100644
|
| --- a/Source/core/dom/Node.h
|
| +++ b/Source/core/dom/Node.h
|
| @@ -393,12 +393,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);
|
| @@ -883,11 +879,11 @@ inline void Node::reattachIfAttached()
|
| reattach();
|
| }
|
|
|
| -inline void Node::lazyReattach(ShouldSetAttached shouldSetAttached)
|
| +inline void Node::lazyReattach()
|
| {
|
| if (attached())
|
| detach();
|
| - lazyAttach(shouldSetAttached);
|
| + lazyAttach();
|
| }
|
|
|
| // Need a template since ElementShadow is not a Node, but has the style recalc methods.
|
|
|