| Index: third_party/WebKit/Source/core/dom/ProcessingInstruction.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ProcessingInstruction.h b/third_party/WebKit/Source/core/dom/ProcessingInstruction.h
|
| index e7349711408020a26d14f1f200ccb1637006f119..544b0d4a6fec69fb30e55ce07d23222fccac136e 100644
|
| --- a/third_party/WebKit/Source/core/dom/ProcessingInstruction.h
|
| +++ b/third_party/WebKit/Source/core/dom/ProcessingInstruction.h
|
| @@ -35,9 +35,9 @@ class EventListener;
|
|
|
| class ProcessingInstruction final : public CharacterData, private ResourceOwner<StyleSheetResource> {
|
| DEFINE_WRAPPERTYPEINFO();
|
| - WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ProcessingInstruction);
|
| + USING_GARBAGE_COLLECTED_MIXIN(ProcessingInstruction);
|
| public:
|
| - static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data);
|
| + static RawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data);
|
| ~ProcessingInstruction() override;
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -55,7 +55,7 @@ public:
|
| bool isLoading() const;
|
|
|
| // For XSLT
|
| - class DetachableEventListener : public WillBeGarbageCollectedMixin {
|
| + class DetachableEventListener : public GarbageCollectedMixin {
|
| public:
|
| virtual ~DetachableEventListener() { }
|
| virtual EventListener* toEventListener() = 0;
|
| @@ -74,7 +74,7 @@ public:
|
| #endif
|
| };
|
|
|
| - void setEventListenerForXSLT(PassRefPtrWillBeRawPtr<DetachableEventListener> listener) { m_listenerForXSLT = listener; }
|
| + void setEventListenerForXSLT(RawPtr<DetachableEventListener> listener) { m_listenerForXSLT = listener; }
|
| EventListener* eventListenerForXSLT();
|
| void clearEventListenerForXSLT();
|
|
|
| @@ -83,7 +83,7 @@ private:
|
|
|
| String nodeName() const override;
|
| NodeType nodeType() const override;
|
| - PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override;
|
| + RawPtr<Node> cloneNode(bool deep) override;
|
|
|
| InsertionNotificationRequest insertedInto(ContainerNode*) override;
|
| void removedFrom(ContainerNode*) override;
|
| @@ -105,14 +105,14 @@ private:
|
| String m_localHref;
|
| String m_title;
|
| String m_media;
|
| - RefPtrWillBeMember<StyleSheet> m_sheet;
|
| + Member<StyleSheet> m_sheet;
|
| bool m_loading;
|
| bool m_alternate;
|
| bool m_createdByParser;
|
| bool m_isCSS;
|
| bool m_isXSL;
|
|
|
| - RefPtrWillBeMember<DetachableEventListener> m_listenerForXSLT;
|
| + Member<DetachableEventListener> m_listenerForXSLT;
|
| };
|
|
|
| DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INSTRUCTION_NODE);
|
|
|