| 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 "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 { | 12 { |
| 13 StringBuilder result; | 13 StringBuilder result; |
| 14 result.append(getValueName(m_valueID)); | 14 result.append(getValueName(m_valueID)); |
| 15 result.append('('); | 15 result.append('('); |
| 16 result.append(CSSValueList::customCSSText()); | 16 result.append(CSSValueList::customCSSText()); |
| 17 result.append(')'); | 17 result.append(')'); |
| 18 return result.toString(); | 18 return result.toString(); |
| 19 } | 19 } |
| 20 | 20 |
| 21 } | 21 } // namespace blink |
| OLD | NEW |