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

Unified Diff: third_party/WebKit/Source/core/html/MediaKeyEvent.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/core/html/MediaKeyEvent.h
diff --git a/third_party/WebKit/Source/core/html/MediaKeyEvent.h b/third_party/WebKit/Source/core/html/MediaKeyEvent.h
index 37bfacb6a9c9792847dc2a762dc1d6f615133ba1..7b74ccfa0c368ffbd06dfc90c9b5729a1f7fb5d2 100644
--- a/third_party/WebKit/Source/core/html/MediaKeyEvent.h
+++ b/third_party/WebKit/Source/core/html/MediaKeyEvent.h
@@ -39,14 +39,14 @@ class CORE_EXPORT MediaKeyEvent final : public Event {
public:
~MediaKeyEvent() override;
- static PassRefPtrWillBeRawPtr<MediaKeyEvent> create()
+ static RawPtr<MediaKeyEvent> create()
{
- return adoptRefWillBeNoop(new MediaKeyEvent);
+ return (new MediaKeyEvent);
}
- static PassRefPtrWillBeRawPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
+ static RawPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
{
- return adoptRefWillBeNoop(new MediaKeyEvent(type, initializer));
+ return (new MediaKeyEvent(type, initializer));
}
const AtomicString& interfaceName() const override;
@@ -70,7 +70,7 @@ private:
RefPtr<DOMUint8Array> m_initData;
RefPtr<DOMUint8Array> m_message;
String m_defaultURL;
- PersistentWillBeMember<MediaKeyError> m_errorCode;
+ Member<MediaKeyError> m_errorCode;
unsigned short m_systemCode;
};

Powered by Google App Engine
This is Rietveld 408576698