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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/core/inspector/DOMEditor.h
diff --git a/third_party/WebKit/Source/core/inspector/DOMEditor.h b/third_party/WebKit/Source/core/inspector/DOMEditor.h
index 8aeadc3047deb46a2843884a2af5a0a1f4acac41..87786d8fdfa81388fdb2d255ad451e84ca84001d 100644
--- a/third_party/WebKit/Source/core/inspector/DOMEditor.h
+++ b/third_party/WebKit/Source/core/inspector/DOMEditor.h
@@ -44,24 +44,23 @@ class InspectorHistory;
class Node;
class Text;
-class DOMEditor final : public NoBaseWillBeGarbageCollected<DOMEditor> {
+class DOMEditor final : public GarbageCollected<DOMEditor> {
WTF_MAKE_NONCOPYABLE(DOMEditor);
- USING_FAST_MALLOC_WILL_BE_REMOVED(DOMEditor);
public:
explicit DOMEditor(InspectorHistory*);
DECLARE_TRACE();
- bool insertBefore(ContainerNode* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ExceptionState&);
+ bool insertBefore(ContainerNode* parentNode, RawPtr<Node>, Node* anchorNode, ExceptionState&);
bool removeChild(ContainerNode* parentNode, Node*, ExceptionState&);
bool setAttribute(Element*, const String& name, const String& value, ExceptionState&);
bool removeAttribute(Element*, const String& name, ExceptionState&);
bool setOuterHTML(Node*, const String& html, Node** newNode, ExceptionState&);
bool replaceWholeText(Text*, const String& text, ExceptionState&);
- bool replaceChild(ContainerNode* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode, ExceptionState&);
+ bool replaceChild(ContainerNode* parentNode, RawPtr<Node> newNode, Node* oldNode, ExceptionState&);
bool setNodeValue(Node* parentNode, const String& value, ExceptionState&);
- bool insertBefore(ContainerNode* parentNode, PassRefPtrWillBeRawPtr<Node>, Node* anchorNode, ErrorString*);
+ bool insertBefore(ContainerNode* parentNode, RawPtr<Node>, Node* anchorNode, ErrorString*);
bool removeChild(ContainerNode* parentNode, Node*, ErrorString*);
bool setAttribute(Element*, const String& name, const String& value, ErrorString*);
bool removeAttribute(Element*, const String& name, ErrorString*);
@@ -79,7 +78,7 @@ private:
class ReplaceChildNodeAction;
class SetNodeValueAction;
- RawPtrWillBeMember<InspectorHistory> m_history;
+ Member<InspectorHistory> m_history;
};

Powered by Google App Engine
This is Rietveld 408576698