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

Unified Diff: third_party/WebKit/Source/core/css/MediaQuery.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
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaList.idl ('k') | third_party/WebKit/Source/core/css/MediaQuery.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/MediaQuery.h
diff --git a/third_party/WebKit/Source/core/css/MediaQuery.h b/third_party/WebKit/Source/core/css/MediaQuery.h
index 2820d2d8df50e717dcaaf24d6752259a367f8206..08a997ad80362c34b99b5a6b14ca5fc4011a40d5 100644
--- a/third_party/WebKit/Source/core/css/MediaQuery.h
+++ b/third_party/WebKit/Source/core/css/MediaQuery.h
@@ -40,17 +40,16 @@
namespace blink {
class MediaQueryExp;
-using ExpressionHeapVector = WillBeHeapVector<OwnPtrWillBeMember<MediaQueryExp>>;
+using ExpressionHeapVector = HeapVector<Member<MediaQueryExp>>;
-class CORE_EXPORT MediaQuery : public NoBaseWillBeGarbageCollectedFinalized<MediaQuery> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(MediaQuery);
+class CORE_EXPORT MediaQuery : public GarbageCollectedFinalized<MediaQuery> {
public:
enum RestrictorType {
Only, Not, None
};
- static PassOwnPtrWillBeRawPtr<MediaQuery> create(RestrictorType, String mediaType, ExpressionHeapVector);
- static PassOwnPtrWillBeRawPtr<MediaQuery> createNotAll();
+ static RawPtr<MediaQuery> create(RestrictorType, String mediaType, ExpressionHeapVector);
+ static RawPtr<MediaQuery> createNotAll();
~MediaQuery();
@@ -60,7 +59,7 @@ public:
bool operator==(const MediaQuery& other) const;
String cssText() const;
- PassOwnPtrWillBeRawPtr<MediaQuery> copy() const { return adoptPtrWillBeNoop(new MediaQuery(*this)); }
+ RawPtr<MediaQuery> copy() const { return new MediaQuery(*this); }
DECLARE_TRACE();
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaList.idl ('k') | third_party/WebKit/Source/core/css/MediaQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698