Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: third_party/WebKit/Source/core/css/CSSPaintValue.cpp

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPaintValue.h ('k') | third_party/WebKit/Source/core/css/CSSPathValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698