| Index: Source/core/inspector/DOMEditor.h
|
| diff --git a/Source/core/inspector/DOMEditor.h b/Source/core/inspector/DOMEditor.h
|
| index b0be0cf7d1934b408b173d91130eef0b4d17138c..e9b683baa0ee1f6ab2558178bdd046520452a4d9 100644
|
| --- a/Source/core/inspector/DOMEditor.h
|
| +++ b/Source/core/inspector/DOMEditor.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef DOMEditor_h
|
| #define DOMEditor_h
|
|
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace WebCore {
|
| @@ -43,11 +44,13 @@ class Text;
|
|
|
| typedef String ErrorString;
|
|
|
| -class DOMEditor {
|
| - WTF_MAKE_NONCOPYABLE(DOMEditor); WTF_MAKE_FAST_ALLOCATED;
|
| +class DOMEditor FINAL : public NoBaseWillBeGarbageCollected<DOMEditor> {
|
| + WTF_MAKE_NONCOPYABLE(DOMEditor);
|
| + WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
|
| public:
|
| explicit DOMEditor(InspectorHistory*);
|
| - ~DOMEditor();
|
| +
|
| + void trace(Visitor*);
|
|
|
| bool insertBefore(Node* parentNode, PassRefPtr<Node>, Node* anchorNode, ExceptionState&);
|
| bool removeChild(Node* parentNode, Node*, ExceptionState&);
|
| @@ -76,7 +79,7 @@ private:
|
| class ReplaceChildNodeAction;
|
| class SetNodeValueAction;
|
|
|
| - InspectorHistory* m_history;
|
| + RawPtrWillBeMember<InspectorHistory> m_history;
|
| };
|
|
|
|
|
|
|