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 "platform/graphics/Image.h" | 8 #include "platform/graphics/Image.h" |
9 #include "wtf/text/StringBuilder.h" | 9 #include "wtf/text/StringBuilder.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 CSSPaintValue::CSSPaintValue(RawPtr<CSSCustomIdentValue> name) | 13 CSSPaintValue::CSSPaintValue(CSSCustomIdentValue* name) |
14 : CSSImageGeneratorValue(PaintClass) | 14 : CSSImageGeneratorValue(PaintClass) |
15 , m_name(name) | 15 , m_name(name) |
16 { | 16 { |
17 } | 17 } |
18 | 18 |
19 CSSPaintValue::~CSSPaintValue() | 19 CSSPaintValue::~CSSPaintValue() |
20 { | 20 { |
21 } | 21 } |
22 | 22 |
23 String CSSPaintValue::customCSSText() const | 23 String CSSPaintValue::customCSSText() const |
(...skipping 21 matching lines...) Expand all Loading... |
45 return name() == other.name(); | 45 return name() == other.name(); |
46 } | 46 } |
47 | 47 |
48 DEFINE_TRACE_AFTER_DISPATCH(CSSPaintValue) | 48 DEFINE_TRACE_AFTER_DISPATCH(CSSPaintValue) |
49 { | 49 { |
50 visitor->trace(m_name); | 50 visitor->trace(m_name); |
51 CSSImageGeneratorValue::traceAfterDispatch(visitor); | 51 CSSImageGeneratorValue::traceAfterDispatch(visitor); |
52 } | 52 } |
53 | 53 |
54 } // namespace blink | 54 } // namespace blink |
OLD | NEW |