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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryListEvent.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/css/MediaQueryListEvent.h
diff --git a/third_party/WebKit/Source/core/css/MediaQueryListEvent.h b/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
index 6a6e5dc4298ae21d0a04a7d5ab41ab7030614dd2..f18d74490879fb5fe333281a8305646875a06ba1 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
@@ -14,24 +14,24 @@ namespace blink {
class MediaQueryListEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<MediaQueryListEvent> create()
+ static RawPtr<MediaQueryListEvent> create()
{
return adoptRefWillBeNoop(new MediaQueryListEvent);
}
- static PassRefPtrWillBeRawPtr<MediaQueryListEvent> create(PassRefPtrWillBeRawPtr<MediaQueryList> list)
+ static RawPtr<MediaQueryListEvent> create(RawPtr<MediaQueryList> list)
{
- return adoptRefWillBeNoop(new MediaQueryListEvent(list));
+ return new MediaQueryListEvent(list);
}
- static PassRefPtrWillBeRawPtr<MediaQueryListEvent> create(const String& media, bool matches)
+ static RawPtr<MediaQueryListEvent> create(const String& media, bool matches)
{
- return adoptRefWillBeNoop(new MediaQueryListEvent(media, matches));
+ return new MediaQueryListEvent(media, matches);
}
- static PassRefPtrWillBeRawPtr<MediaQueryListEvent> create(const AtomicString& eventType, const MediaQueryListEventInit& initializer)
+ static RawPtr<MediaQueryListEvent> create(const AtomicString& eventType, const MediaQueryListEventInit& initializer)
{
- return adoptRefWillBeNoop(new MediaQueryListEvent(eventType, initializer));
+ return new MediaQueryListEvent(eventType, initializer);
}
String media() const { return m_mediaQueryList ? m_mediaQueryList->media() : m_media; }
@@ -54,7 +54,7 @@ private:
, m_media(media)
, m_matches(matches) { }
- explicit MediaQueryListEvent(PassRefPtrWillBeRawPtr<MediaQueryList> list)
+ explicit MediaQueryListEvent(RawPtr<MediaQueryList> list)
: Event(EventTypeNames::change, false, false)
, m_mediaQueryList(list)
, m_matches(false) { }
@@ -71,7 +71,7 @@ private:
// We have m_media/m_matches for JS-created events; we use m_mediaQueryList
// for events that blink generates.
- RefPtrWillBeMember<MediaQueryList> m_mediaQueryList;
+ Member<MediaQueryList> m_mediaQueryList;
String m_media;
bool m_matches;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryList.cpp ('k') | third_party/WebKit/Source/core/css/MediaQueryListListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698