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

Unified Diff: third_party/WebKit/Source/core/css/CSSValue.cpp

Issue 1778743003: Make <custom-ident> not insert quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win_chromium_rel_ng 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/CSSValue.h ('k') | third_party/WebKit/Source/core/css/CSSValuePool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSValue.cpp b/third_party/WebKit/Source/core/css/CSSValue.cpp
index 11c8675b21a9bc0f866b63b638227d4881d1ba8f..29e8ec27929987c72016c5b5066afee1c8284f78 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSValue.cpp
@@ -36,6 +36,7 @@
#include "core/css/CSSCustomIdentValue.h"
#include "core/css/CSSCustomPropertyDeclaration.h"
#include "core/css/CSSFontFaceSrcValue.h"
+#include "core/css/CSSFontFamilyValue.h"
#include "core/css/CSSFontFeatureValue.h"
#include "core/css/CSSFunctionValue.h"
#include "core/css/CSSGradientValue.h"
@@ -119,6 +120,8 @@ bool CSSValue::equals(const CSSValue& other) const
return compareCSSValues<CSSCursorImageValue>(*this, other);
case FontFaceSrcClass:
return compareCSSValues<CSSFontFaceSrcValue>(*this, other);
+ case FontFamilyClass:
+ return compareCSSValues<CSSFontFamilyValue>(*this, other);
case FontFeatureClass:
return compareCSSValues<CSSFontFeatureValue>(*this, other);
case FunctionClass:
@@ -209,6 +212,8 @@ String CSSValue::cssText() const
return toCSSCursorImageValue(this)->customCSSText();
case FontFaceSrcClass:
return toCSSFontFaceSrcValue(this)->customCSSText();
+ case FontFamilyClass:
+ return toCSSFontFamilyValue(this)->customCSSText();
case FontFeatureClass:
return toCSSFontFeatureValue(this)->customCSSText();
case FunctionClass:
@@ -306,6 +311,9 @@ void CSSValue::destroy()
case FontFaceSrcClass:
delete toCSSFontFaceSrcValue(this);
return;
+ case FontFamilyClass:
+ delete toCSSFontFamilyValue(this);
+ return;
case FontFeatureClass:
delete toCSSFontFeatureValue(this);
return;
@@ -433,6 +441,9 @@ void CSSValue::finalizeGarbageCollectedObject()
case FontFaceSrcClass:
toCSSFontFaceSrcValue(this)->~CSSFontFaceSrcValue();
return;
+ case FontFamilyClass:
+ toCSSFontFamilyValue(this)->~CSSFontFamilyValue();
+ return;
case FontFeatureClass:
toCSSFontFeatureValue(this)->~CSSFontFeatureValue();
return;
@@ -560,6 +571,9 @@ DEFINE_TRACE(CSSValue)
case FontFaceSrcClass:
toCSSFontFaceSrcValue(this)->traceAfterDispatch(visitor);
return;
+ case FontFamilyClass:
+ toCSSFontFamilyValue(this)->traceAfterDispatch(visitor);
+ return;
case FontFeatureClass:
toCSSFontFeatureValue(this)->traceAfterDispatch(visitor);
return;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.h ('k') | third_party/WebKit/Source/core/css/CSSValuePool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698