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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryListEvent.h

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 22315f8bb51dfcbee94b66fa582f08a2735ff040..6924bbff843b2315d526e6827fb7101bcf90ff94 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryListEvent.h
@@ -14,22 +14,22 @@ namespace blink {
class MediaQueryListEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static RawPtr<MediaQueryListEvent> create()
+ static MediaQueryListEvent* create()
{
return new MediaQueryListEvent;
}
- static RawPtr<MediaQueryListEvent> create(RawPtr<MediaQueryList> list)
+ static MediaQueryListEvent* create(MediaQueryList* list)
{
return new MediaQueryListEvent(list);
}
- static RawPtr<MediaQueryListEvent> create(const String& media, bool matches)
+ static MediaQueryListEvent* create(const String& media, bool matches)
{
return new MediaQueryListEvent(media, matches);
}
- static RawPtr<MediaQueryListEvent> create(const AtomicString& eventType, const MediaQueryListEventInit& initializer)
+ static MediaQueryListEvent* create(const AtomicString& eventType, const MediaQueryListEventInit& initializer)
{
return new MediaQueryListEvent(eventType, initializer);
}
@@ -54,7 +54,7 @@ private:
, m_media(media)
, m_matches(matches) { }
- explicit MediaQueryListEvent(RawPtr<MediaQueryList> list)
+ explicit MediaQueryListEvent(MediaQueryList* list)
: Event(EventTypeNames::change, false, false)
, m_mediaQueryList(list)
, m_matches(false) { }
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryList.cpp ('k') | third_party/WebKit/Source/core/css/MediaQueryListTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698