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

Unified Diff: third_party/WebKit/Source/core/html/track/TrackEvent.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/html/track/TrackEvent.h
diff --git a/third_party/WebKit/Source/core/html/track/TrackEvent.h b/third_party/WebKit/Source/core/html/track/TrackEvent.h
index 0e9d505e2abe112ef92223f2cffa92e8b2116660..af7d4cbf52983ad9973139f0d9c0f7d0696786bd 100644
--- a/third_party/WebKit/Source/core/html/track/TrackEvent.h
+++ b/third_party/WebKit/Source/core/html/track/TrackEvent.h
@@ -39,20 +39,20 @@ class TrackEvent final : public Event {
public:
~TrackEvent() override;
- static PassRefPtrWillBeRawPtr<TrackEvent> create()
+ static RawPtr<TrackEvent> create()
{
return adoptRefWillBeNoop(new TrackEvent);
}
- static PassRefPtrWillBeRawPtr<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer)
+ static RawPtr<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer)
{
- return adoptRefWillBeNoop(new TrackEvent(type, initializer));
+ return new TrackEvent(type, initializer);
}
template <typename T>
- static PassRefPtrWillBeRawPtr<TrackEvent> create(const AtomicString& type, T* track)
+ static RawPtr<TrackEvent> create(const AtomicString& type, T* track)
{
- return adoptRefWillBeNoop(new TrackEvent(type, track));
+ return new TrackEvent(type, track);
}
const AtomicString& interfaceName() const override;
@@ -71,7 +71,7 @@ private:
{
}
- PersistentWillBeMember<TrackBase> m_track;
+ Member<TrackBase> m_track;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/track/TrackBase.h ('k') | third_party/WebKit/Source/core/html/track/TrackListBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698