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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryMatcher.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/MediaQueryMatcher.h
diff --git a/third_party/WebKit/Source/core/css/MediaQueryMatcher.h b/third_party/WebKit/Source/core/css/MediaQueryMatcher.h
index 76412beca64410475f0eefa7f3dba1ecd18ebdbc..e7eda31ea7d8ff72b7a791721b151b26d229cbd4 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryMatcher.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryMatcher.h
@@ -41,7 +41,7 @@ class MediaQuerySet;
class CORE_EXPORT MediaQueryMatcher final : public GarbageCollectedFinalized<MediaQueryMatcher> {
WTF_MAKE_NONCOPYABLE(MediaQueryMatcher);
public:
- static RawPtr<MediaQueryMatcher> create(Document&);
+ static MediaQueryMatcher* create(Document&);
~MediaQueryMatcher();
void documentDetached();
@@ -49,10 +49,10 @@ public:
void addMediaQueryList(MediaQueryList*);
void removeMediaQueryList(MediaQueryList*);
- void addViewportListener(RawPtr<MediaQueryListListener>);
- void removeViewportListener(RawPtr<MediaQueryListListener>);
+ void addViewportListener(MediaQueryListListener*);
+ void removeViewportListener(MediaQueryListListener*);
- RawPtr<MediaQueryList> matchMedia(const String&);
+ MediaQueryList* matchMedia(const String&);
void mediaFeaturesChanged();
void viewportChanged();
@@ -63,7 +63,7 @@ public:
private:
explicit MediaQueryMatcher(Document&);
- RawPtr<MediaQueryEvaluator> createEvaluator() const;
+ MediaQueryEvaluator* createEvaluator() const;
Member<Document> m_document;
Member<MediaQueryEvaluator> m_evaluator;
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryListTest.cpp ('k') | third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698