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

Unified Diff: third_party/WebKit/Source/core/dom/ProcessingInstruction.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/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);

Powered by Google App Engine
This is Rietveld 408576698