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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.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, 10 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/modules/webmidi/MIDIMessageEvent.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
index 871f3246e76e1ff65acc44ae0dc4e8615a32cb13..edc5d1270ef0efb616f52ee5fa5aeafd810357d7 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.h
@@ -41,19 +41,19 @@ class MIDIMessageEventInit;
class MIDIMessageEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create()
+ static RawPtr<MIDIMessageEvent> create()
{
- return adoptRefWillBeNoop(new MIDIMessageEvent());
+ return (new MIDIMessageEvent());
}
- static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create(double receivedTime, PassRefPtr<DOMUint8Array> data)
+ static RawPtr<MIDIMessageEvent> create(double receivedTime, PassRefPtr<DOMUint8Array> data)
{
- return adoptRefWillBeNoop(new MIDIMessageEvent(receivedTime, data));
+ return (new MIDIMessageEvent(receivedTime, data));
}
- static PassRefPtrWillBeRawPtr<MIDIMessageEvent> create(const AtomicString& type, const MIDIMessageEventInit& initializer)
+ static RawPtr<MIDIMessageEvent> create(const AtomicString& type, const MIDIMessageEventInit& initializer)
{
- return adoptRefWillBeNoop(new MIDIMessageEvent(type, initializer));
+ return (new MIDIMessageEvent(type, initializer));
}
double receivedTime() { return m_receivedTime; }

Powered by Google App Engine
This is Rietveld 408576698