OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "core/css/CSSFontFamilyValue.h" |
| 6 |
| 7 #include "core/css/CSSMarkup.h" |
| 8 #include "wtf/text/WTFString.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 CSSFontFamilyValue::CSSFontFamilyValue(const String& str) |
| 13 : CSSValue(FontFamilyClass) |
| 14 , m_string(str) { } |
| 15 |
| 16 String CSSFontFamilyValue::customCSSText() const |
| 17 { |
| 18 return serializeFontFamily(m_string); |
| 19 } |
| 20 |
| 21 DEFINE_TRACE_AFTER_DISPATCH(CSSFontFamilyValue) |
| 22 { |
| 23 CSSValue::traceAfterDispatch(visitor); |
| 24 } |
| 25 |
| 26 } // namespace blink |
OLD | NEW |