| 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 46d9df974b12a70989cccd67e7afd0e93cdfdd75..086462cd9775ffe736c4ac0d549e904c97e41a91 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();
|
|
|
| @@ -52,7 +52,7 @@ public:
|
| bool isLoading() const;
|
|
|
| // For XSLT
|
| - class DetachableEventListener : public WillBeGarbageCollectedMixin {
|
| + class DetachableEventListener : public GarbageCollectedMixin {
|
| public:
|
| virtual ~DetachableEventListener() { }
|
| virtual EventListener* toEventListener() = 0;
|
| @@ -71,7 +71,7 @@ public:
|
| #endif
|
| };
|
|
|
| - void setEventListenerForXSLT(PassRefPtrWillBeRawPtr<DetachableEventListener> listener) { m_listenerForXSLT = listener; }
|
| + void setEventListenerForXSLT(RawPtr<DetachableEventListener> listener) { m_listenerForXSLT = listener; }
|
| EventListener* eventListenerForXSLT();
|
| void clearEventListenerForXSLT();
|
|
|
| @@ -80,7 +80,7 @@ private:
|
|
|
| String nodeName() const override;
|
| NodeType getNodeType() const override;
|
| - PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override;
|
| + RawPtr<Node> cloneNode(bool deep) override;
|
|
|
| InsertionNotificationRequest insertedInto(ContainerNode*) override;
|
| void removedFrom(ContainerNode*) override;
|
| @@ -102,13 +102,13 @@ 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_isCSS;
|
| bool m_isXSL;
|
|
|
| - RefPtrWillBeMember<DetachableEventListener> m_listenerForXSLT;
|
| + Member<DetachableEventListener> m_listenerForXSLT;
|
| };
|
|
|
| DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, getNodeType() == Node::PROCESSING_INSTRUCTION_NODE);
|
|
|