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