| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/CSSQuadValue.h" | 5 #include "core/css/CSSQuadValue.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 CSSQuadValue::CustomCSSText() const { | 11 String CSSQuadValue::CustomCSSText() const { |
| 12 String top = top_->CssText(); | 12 String top = top_->CssText(); |
| 13 String right = right_->CssText(); | 13 String right = right_->CssText(); |
| 14 String bottom = bottom_->CssText(); | 14 String bottom = bottom_->CssText(); |
| 15 String left = left_->CssText(); | 15 String left = left_->CssText(); |
| 16 | 16 |
| 17 if (serialization_type_ == TypeForSerialization::kSerializeAsRect) | 17 if (serialization_type_ == TypeForSerialization::kSerializeAsRect) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 DEFINE_TRACE_AFTER_DISPATCH(CSSQuadValue) { | 40 DEFINE_TRACE_AFTER_DISPATCH(CSSQuadValue) { |
| 41 visitor->Trace(top_); | 41 visitor->Trace(top_); |
| 42 visitor->Trace(right_); | 42 visitor->Trace(right_); |
| 43 visitor->Trace(bottom_); | 43 visitor->Trace(bottom_); |
| 44 visitor->Trace(left_); | 44 visitor->Trace(left_); |
| 45 CSSValue::TraceAfterDispatch(visitor); | 45 CSSValue::TraceAfterDispatch(visitor); |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| OLD | NEW |