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

Unified Diff: Source/core/css/CSSFontFaceSrcValue.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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 | « Source/core/css/CSSCursorImageValue.cpp ('k') | Source/core/css/CSSFontFeatureValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontFaceSrcValue.h
diff --git a/Source/core/css/CSSFontFaceSrcValue.h b/Source/core/css/CSSFontFaceSrcValue.h
index 4b2bacb9c78ec9d59d42d1f0b75c2dfd19d102e6..3e5c8cdd23107242c87517c135bceaa6345eeb91 100644
--- a/Source/core/css/CSSFontFaceSrcValue.h
+++ b/Source/core/css/CSSFontFaceSrcValue.h
@@ -37,7 +37,7 @@ namespace blink {
class FontResource;
class Document;
-class CSSFontFaceSrcValue : public CSSValue {
+class CSSFontFaceSrcValue : public CSSValueObject {
public:
static PassRefPtrWillBeRawPtr<CSSFontFaceSrcValue> create(const String& resource, ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy)
{
@@ -65,11 +65,11 @@ public:
bool equals(const CSSFontFaceSrcValue&) const;
- DEFINE_INLINE_TRACE_AFTER_DISPATCH() { CSSValue::traceAfterDispatch(visitor); }
+ DEFINE_INLINE_TRACE_AFTER_DISPATCH() { CSSValueObject::traceAfterDispatch(visitor); }
private:
CSSFontFaceSrcValue(const String& resource, bool local, ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy)
- : CSSValue(FontFaceSrcClass)
+ : CSSValueObject(FontFaceSrcClass)
, m_resource(resource)
, m_isLocal(local)
, m_shouldCheckContentSecurityPolicy(shouldCheckContentSecurityPolicy)
« no previous file with comments | « Source/core/css/CSSCursorImageValue.cpp ('k') | Source/core/css/CSSFontFeatureValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698