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

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

Issue 1373433002: Split out CSSPrimitiveValue's PropertyID into CSSCustomIdentValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_string
Patch Set: Created 5 years, 3 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/FontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFace.cpp b/third_party/WebKit/Source/core/css/FontFace.cpp
index fbad4985ef46367990bd483750ed16b4bf8277b0..1dcd6ed1cd72fb3e489428d0fa882245e74e88e9 100644
--- a/third_party/WebKit/Source/core/css/FontFace.cpp
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp
@@ -40,7 +40,7 @@
#include "core/css/CSSFontFaceSrcValue.h"
#include "core/css/CSSFontSelector.h"
#include "core/css/CSSPrimitiveValue.h"
-#include "core/css/CSSStringValueBase.h"
+#include "core/css/CSSStringValues.h"
#include "core/css/CSSUnicodeRangeValue.h"
#include "core/css/CSSValueList.h"
#include "core/css/FontFaceDescriptors.h"
@@ -275,7 +275,7 @@ bool FontFace::setFamilyValue(CSSValue* familyValue)
{
AtomicString family;
if (familyValue->isCustomIdentValue()) {
- family = AtomicString(toCSSCustomIdentValue(familyValue)->value());
+ family = AtomicString(toCSSCustomIdentValue(familyValue)->string());
} else if (toCSSPrimitiveValue(familyValue)->isValueID()) {
// We need to use the raw text for all the generic family types, since @font-face is a way of actually
// defining what font to use for those types.

Powered by Google App Engine
This is Rietveld 408576698