| 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/CSSPaintValue.h" | 5 #include "core/css/CSSPaintValue.h" |
| 6 | 6 |
| 7 #include "core/css/CSSCustomIdentValue.h" | 7 #include "core/css/CSSCustomIdentValue.h" |
| 8 #include "core/css/CSSSyntaxDescriptor.h" | 8 #include "core/css/CSSSyntaxDescriptor.h" |
| 9 #include "core/css/cssom/StyleValueFactory.h" | 9 #include "core/css/cssom/StyleValueFactory.h" |
| 10 #include "core/layout/LayoutObject.h" | 10 #include "core/layout/LayoutObject.h" |
| 11 #include "platform/graphics/Image.h" | 11 #include "platform/graphics/Image.h" |
| 12 #include "wtf/text/StringBuilder.h" | 12 #include "platform/wtf/text/StringBuilder.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 CSSPaintValue::CSSPaintValue(CSSCustomIdentValue* name) | 16 CSSPaintValue::CSSPaintValue(CSSCustomIdentValue* name) |
| 17 : CSSImageGeneratorValue(kPaintClass), | 17 : CSSImageGeneratorValue(kPaintClass), |
| 18 name_(name), | 18 name_(name), |
| 19 paint_image_generator_observer_(new Observer(this)) {} | 19 paint_image_generator_observer_(new Observer(this)) {} |
| 20 | 20 |
| 21 CSSPaintValue::CSSPaintValue(CSSCustomIdentValue* name, | 21 CSSPaintValue::CSSPaintValue(CSSCustomIdentValue* name, |
| 22 Vector<RefPtr<CSSVariableData>>& variable_data) | 22 Vector<RefPtr<CSSVariableData>>& variable_data) |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 DEFINE_TRACE_AFTER_DISPATCH(CSSPaintValue) { | 113 DEFINE_TRACE_AFTER_DISPATCH(CSSPaintValue) { |
| 114 visitor->Trace(name_); | 114 visitor->Trace(name_); |
| 115 visitor->Trace(generator_); | 115 visitor->Trace(generator_); |
| 116 visitor->Trace(paint_image_generator_observer_); | 116 visitor->Trace(paint_image_generator_observer_); |
| 117 visitor->Trace(parsed_input_arguments_); | 117 visitor->Trace(parsed_input_arguments_); |
| 118 CSSImageGeneratorValue::TraceAfterDispatch(visitor); | 118 CSSImageGeneratorValue::TraceAfterDispatch(visitor); |
| 119 } | 119 } |
| 120 | 120 |
| 121 } // namespace blink | 121 } // namespace blink |
| OLD | NEW |