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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.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/CSSFontFaceSrcValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h
index eea8f3e3d96791f6c3fc7d70c385e11277b69454..9a82707134d666c16f8e2b544798bcb460991355 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h
+++ b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.h
@@ -39,13 +39,13 @@ class Document;
class CSSFontFaceSrcValue : public CSSValue {
public:
- static PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> create(const String& resource, ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy)
+ static RawPtr<CSSFontFaceSrcValue> create(const String& resource, ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy)
{
- return adoptRefWillBeNoop(new CSSFontFaceSrcValue(resource, false, shouldCheckContentSecurityPolicy));
+ return (new CSSFontFaceSrcValue(resource, false, shouldCheckContentSecurityPolicy));
}
- static PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> createLocal(const String& resource, ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy)
+ static RawPtr<CSSFontFaceSrcValue> createLocal(const String& resource, ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy)
{
- return adoptRefWillBeNoop(new CSSFontFaceSrcValue(resource, true, shouldCheckContentSecurityPolicy));
+ return (new CSSFontFaceSrcValue(resource, true, shouldCheckContentSecurityPolicy));
}
const String& resource() const { return m_resource; }
@@ -89,25 +89,25 @@ private:
ContentSecurityPolicyDisposition m_shouldCheckContentSecurityPolicy;
- class FontResourceHelper : public NoBaseWillBeGarbageCollectedFinalized<FontResourceHelper>, public ResourceOwner<FontResource> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FontResourceHelper);
+ class FontResourceHelper : public GarbageCollectedFinalized<FontResourceHelper>, public ResourceOwner<FontResource> {
+ USING_GARBAGE_COLLECTED_MIXIN(FontResourceHelper);
public:
- static PassOwnPtrWillBeRawPtr<FontResourceHelper> create(PassRefPtrWillBeRawPtr<FontResource> resource)
+ static RawPtr<FontResourceHelper> create(RawPtr<FontResource> resource)
{
- return adoptPtrWillBeNoop(new FontResourceHelper(resource));
+ return (new FontResourceHelper(resource));
}
DEFINE_INLINE_VIRTUAL_TRACE() { ResourceOwner<FontResource>::trace(visitor); }
private:
- FontResourceHelper(PassRefPtrWillBeRawPtr<FontResource> resource)
+ FontResourceHelper(RawPtr<FontResource> resource)
{
setResource(resource);
}
String debugName() const override { return "CSSFontFaceSrcValue::FontResourceHelper"; }
};
- OwnPtrWillBeMember<FontResourceHelper> m_fetched;
+ Member<FontResourceHelper> m_fetched;
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontFaceSrcValue, isFontFaceSrcValue());

Powered by Google App Engine
This is Rietveld 408576698