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

Unified Diff: third_party/WebKit/Source/core/css/StyleMedia.cpp

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/StyleMedia.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleMedia.cpp b/third_party/WebKit/Source/core/css/StyleMedia.cpp
index 9c1c5621fa95b4560e3683dbccdd641e9e5b255c..9fdbe323fd5e42f317ea5df97a16eb57cde314e1 100644
--- a/third_party/WebKit/Source/core/css/StyleMedia.cpp
+++ b/third_party/WebKit/Source/core/css/StyleMedia.cpp
@@ -58,12 +58,12 @@ bool StyleMedia::matchMedium(const String& query) const
if (!documentElement)
return false;
- RawPtr<MediaQuerySet> media = MediaQuerySet::create();
+ MediaQuerySet* media = MediaQuerySet::create();
if (!media->set(query))
return false;
MediaQueryEvaluator screenEval(m_frame);
- return screenEval.eval(media.get());
+ return screenEval.eval(media);
}
DEFINE_TRACE(StyleMedia)
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleMedia.h ('k') | third_party/WebKit/Source/core/css/StylePropertySet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698