Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: Source/core/inspector/DOMEditor.h

Issue 306053010: Tried using CrossThreadPersistent for workerDebuggerAgents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/CodeGeneratorInstrumentation.py ('k') | Source/core/inspector/DOMEditor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « Source/core/inspector/CodeGeneratorInstrumentation.py ('k') | Source/core/inspector/DOMEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698