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

Unified Diff: third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.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/resolver/ViewportStyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.h b/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.h
index ba7ddcf2055f14adcce750fed7879d6f15c893ec..78b156867277aa71edc1988cc8469a603ccade98 100644
--- a/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/ViewportStyleResolver.h
@@ -43,13 +43,11 @@ class Document;
class MutableStylePropertySet;
class StyleRuleViewport;
-class CORE_EXPORT ViewportStyleResolver : public NoBaseWillBeGarbageCollected<ViewportStyleResolver> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(ViewportStyleResolver);
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ViewportStyleResolver);
+class CORE_EXPORT ViewportStyleResolver : public GarbageCollected<ViewportStyleResolver> {
public:
- static PassOwnPtrWillBeRawPtr<ViewportStyleResolver> create(Document* document)
+ static RawPtr<ViewportStyleResolver> create(Document* document)
{
- return adoptPtrWillBeNoop(new ViewportStyleResolver(document));
+ return new ViewportStyleResolver(document);
}
enum Origin { UserAgentOrigin, AuthorOrigin };
@@ -68,8 +66,8 @@ private:
float viewportArgumentValue(CSSPropertyID) const;
Length viewportLengthValue(CSSPropertyID) const;
- RawPtrWillBeMember<Document> m_document;
- RefPtrWillBeMember<MutableStylePropertySet> m_propertySet;
+ Member<Document> m_document;
+ Member<MutableStylePropertySet> m_propertySet;
bool m_hasAuthorStyle;
};

Powered by Google App Engine
This is Rietveld 408576698