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

Unified Diff: third_party/WebKit/Source/core/events/MutationEvent.h

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/events/MutationEvent.h
diff --git a/third_party/WebKit/Source/core/events/MutationEvent.h b/third_party/WebKit/Source/core/events/MutationEvent.h
index bcff69609a6a52aec266fbb0ed421b28c36cc8db..b41ae80daf38fa373f8337cab739fdb4103637fe 100644
--- a/third_party/WebKit/Source/core/events/MutationEvent.h
+++ b/third_party/WebKit/Source/core/events/MutationEvent.h
@@ -40,19 +40,19 @@ public:
REMOVAL = 3 // NOLINT
};
- static PassRefPtrWillBeRawPtr<MutationEvent> create()
+ static RawPtr<MutationEvent> create()
{
return adoptRefWillBeNoop(new MutationEvent);
}
- static PassRefPtrWillBeRawPtr<MutationEvent> create(
- const AtomicString& type, bool canBubble, PassRefPtrWillBeRawPtr<Node> relatedNode = nullptr,
+ static RawPtr<MutationEvent> create(
+ const AtomicString& type, bool canBubble, RawPtr<Node> relatedNode = nullptr,
const String& prevValue = String(), const String& newValue = String(), const String& attrName = String(), unsigned short attrChange = 0)
{
- return adoptRefWillBeNoop(new MutationEvent(type, canBubble, false, relatedNode, prevValue, newValue, attrName, attrChange));
+ return new MutationEvent(type, canBubble, false, relatedNode, prevValue, newValue, attrName, attrChange);
}
- void initMutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<Node> relatedNode, const String& prevValue, const String& newValue, const String& attrName, unsigned short attrChange);
+ void initMutationEvent(const AtomicString& type, bool canBubble, bool cancelable, RawPtr<Node> relatedNode, const String& prevValue, const String& newValue, const String& attrName, unsigned short attrChange);
Node* relatedNode() const { return m_relatedNode.get(); }
String prevValue() const { return m_prevValue; }
@@ -66,9 +66,9 @@ public:
private:
MutationEvent();
- MutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<Node> relatedNode, const String& prevValue, const String& newValue, const String& attrName, unsigned short attrChange);
+ MutationEvent(const AtomicString& type, bool canBubble, bool cancelable, RawPtr<Node> relatedNode, const String& prevValue, const String& newValue, const String& attrName, unsigned short attrChange);
- RefPtrWillBeMember<Node> m_relatedNode;
+ Member<Node> m_relatedNode;
String m_prevValue;
String m_newValue;
String m_attrName;
« no previous file with comments | « third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp ('k') | third_party/WebKit/Source/core/events/MutationEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698