| Index: third_party/WebKit/Source/core/css/CSSFontFeatureValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSFontFeatureValue.cpp b/third_party/WebKit/Source/core/css/CSSFontFeatureValue.cpp
|
| index 374d37792fec0a3c3158b77b5dab43a661683746..6fecdc35ea1d26cd0a8c00ccac8f0c1bb31fb0aa 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSFontFeatureValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSFontFeatureValue.cpp
|
| @@ -25,6 +25,8 @@
|
|
|
| #include "core/css/CSSFontFeatureValue.h"
|
|
|
| +#include "core/css/serializer/CSSDeserializeStream.h"
|
| +#include "core/css/serializer/CSSSerializeStream.h"
|
| #include "wtf/text/StringBuilder.h"
|
|
|
| namespace blink {
|
| @@ -36,6 +38,14 @@ CSSFontFeatureValue::CSSFontFeatureValue(const AtomicString& tag, int value)
|
| {
|
| }
|
|
|
| +PassRefPtrWillBeRawPtr<CSSFontFeatureValue> CSSFontFeatureValue::deserializeAfterDispatch(CSSDeserializeStream* stream)
|
| +{
|
| + AtomicString tag = stream->readAtomicString();
|
| + int value = stream->readInt();
|
| +
|
| + return create(tag, value);
|
| +}
|
| +
|
| String CSSFontFeatureValue::customCSSText() const
|
| {
|
| StringBuilder builder;
|
| @@ -51,4 +61,10 @@ bool CSSFontFeatureValue::equals(const CSSFontFeatureValue& other) const
|
| return m_tag == other.m_tag && m_value == other.m_value;
|
| }
|
|
|
| +void CSSFontFeatureValue::serializeAfterDispatch(CSSSerializeStream* stream) const
|
| +{
|
| + stream->writeAtomicString(m_tag);
|
| + stream->writeInt(m_value);
|
| +}
|
| +
|
| }
|
|
|