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

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, 10 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/MediaQuery.h
diff --git a/third_party/WebKit/Source/core/css/MediaQuery.h b/third_party/WebKit/Source/core/css/MediaQuery.h
index d5f9b11ee0db535915ac9cf6cb7af77647e66ef2..9ba89ea64418174c5a9d782a5dc41563e7f2b8ee 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 Restrictor {
Only, Not, None
};
- static PassOwnPtrWillBeRawPtr<MediaQuery> create(Restrictor, String mediaType, ExpressionHeapVector);
- static PassOwnPtrWillBeRawPtr<MediaQuery> createNotAll();
+ static RawPtr<MediaQuery> create(Restrictor, 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();

Powered by Google App Engine
This is Rietveld 408576698