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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryEvaluator.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/MediaQueryEvaluator.h
diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
index 343567b44a99b41b31dd241316f523fd2e7791d1..f4e71a26c9acbe0b38efaa56bf1e13de9ba15f1b 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
+++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.h
@@ -40,7 +40,7 @@ class MediaQueryResult;
class MediaQuerySet;
class MediaValues;
-using MediaQueryResultList = WillBeHeapVector<RefPtrWillBeMember<MediaQueryResult>>;
+using MediaQueryResultList = HeapVector<Member<MediaQueryResult>>;
// Class that evaluates css media queries as defined in
// CSS3 Module "Media Queries" (http://www.w3.org/TR/css3-mediaqueries/)
@@ -53,9 +53,8 @@ using MediaQueryResultList = WillBeHeapVector<RefPtrWillBeMember<MediaQueryResul
// the device characteristics are not known. This can be used to prune the loading
// of stylesheets to only those which are probable to match.
-class CORE_EXPORT MediaQueryEvaluator final : public NoBaseWillBeGarbageCollectedFinalized<MediaQueryEvaluator> {
+class CORE_EXPORT MediaQueryEvaluator final : public GarbageCollectedFinalized<MediaQueryEvaluator> {
WTF_MAKE_NONCOPYABLE(MediaQueryEvaluator);
- USING_FAST_MALLOC_WILL_BE_REMOVED(MediaQueryEvaluator);
public:
// Creates evaluator which evaluates only simple media queries
// Evaluator returns true for "all", and returns value of \mediaFeatureResult
@@ -95,7 +94,7 @@ private:
String m_mediaType;
bool m_expectedResult;
- RefPtrWillBeMember<MediaValues> m_mediaValues;
+ Member<MediaValues> m_mediaValues;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQuery.cpp ('k') | third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698