| 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/CSSFunctionValue.h" | 5 #include "core/css/CSSFunctionValue.h" |
| 6 | 6 |
| 7 #include "wtf/text/StringBuilder.h" | 7 #include "platform/wtf/text/StringBuilder.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| 11 String CSSFunctionValue::CustomCSSText() const { | 11 String CSSFunctionValue::CustomCSSText() const { |
| 12 StringBuilder result; | 12 StringBuilder result; |
| 13 result.Append(getValueName(value_id_)); | 13 result.Append(getValueName(value_id_)); |
| 14 result.Append('('); | 14 result.Append('('); |
| 15 result.Append(CSSValueList::CustomCSSText()); | 15 result.Append(CSSValueList::CustomCSSText()); |
| 16 result.Append(')'); | 16 result.Append(')'); |
| 17 return result.ToString(); | 17 return result.ToString(); |
| 18 } | 18 } |
| 19 | 19 |
| 20 } // namespace blink | 20 } // namespace blink |
| OLD | NEW |