| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/CSSGridAutoRepeatValue.h" | 5 #include "core/css/CSSGridAutoRepeatValue.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 CSSGridAutoRepeatValue::CustomCSSText() const { | 11 String CSSGridAutoRepeatValue::CustomCSSText() const { |
| 12 StringBuilder result; | 12 StringBuilder result; |
| 13 result.Append("repeat("); | 13 result.Append("repeat("); |
| 14 result.Append(getValueName(AutoRepeatID())); | 14 result.Append(getValueName(AutoRepeatID())); |
| 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 } // namespace blink | 21 } // namespace blink |
| OLD | NEW |