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