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

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

Issue 1363233002: Restrict font-family in @font-face to <family-name> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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.h
diff --git a/third_party/WebKit/Source/core/css/FontFace.h b/third_party/WebKit/Source/core/css/FontFace.h
index daf018197eb7fc4d81ef196c2e406f029f0a9439..6365317cb0e3aa650a4495e6c42cc8e974863abe 100644
--- a/third_party/WebKit/Source/core/css/FontFace.h
+++ b/third_party/WebKit/Source/core/css/FontFace.h
@@ -46,7 +46,7 @@
namespace blink {
class CSSFontFace;
-class CSSValueList;
+class CSSPrimitiveValue;
class DOMArrayBuffer;
class DOMArrayBufferView;
class Document;
@@ -125,7 +125,7 @@ private:
void setPropertyFromString(const Document*, const String&, CSSPropertyID, ExceptionState* = 0);
bool setPropertyFromStyle(const StylePropertySet&, CSSPropertyID);
bool setPropertyValue(PassRefPtrWillBeRawPtr<CSSValue>, CSSPropertyID);
- bool setFamilyValue(CSSValueList*);
+ bool setFamilyValue(CSSPrimitiveValue*);
void loadInternal(ExecutionContext*);
ScriptPromise fontStatusPromise(ScriptState*);

Powered by Google App Engine
This is Rietveld 408576698