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

Side by Side Diff: third_party/WebKit/Source/core/css/StyleRuleKeyframe.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 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/StyleRuleKeyframe.h" 5 #include "core/css/StyleRuleKeyframe.h"
6 6
7 #include "core/css/StylePropertySet.h" 7 #include "core/css/StylePropertySet.h"
8 #include "core/css/parser/CSSParser.h" 8 #include "core/css/parser/CSSParser.h"
9 #include "wtf/text/StringBuilder.h" 9 #include "wtf/text/StringBuilder.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 StyleRuleKeyframe::StyleRuleKeyframe(PassOwnPtr<Vector<double>> keys, RawPtr<Sty lePropertySet> properties) 13 StyleRuleKeyframe::StyleRuleKeyframe(PassOwnPtr<Vector<double>> keys, StylePrope rtySet* properties)
14 : StyleRuleBase(Keyframe) 14 : StyleRuleBase(Keyframe)
15 , m_properties(properties) 15 , m_properties(properties)
16 , m_keys(*keys) 16 , m_keys(*keys)
17 { 17 {
18 } 18 }
19 19
20 String StyleRuleKeyframe::keyText() const 20 String StyleRuleKeyframe::keyText() const
21 { 21 {
22 ASSERT(!m_keys.isEmpty()); 22 ASSERT(!m_keys.isEmpty());
23 23
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return result.toString(); 69 return result.toString();
70 } 70 }
71 71
72 DEFINE_TRACE_AFTER_DISPATCH(StyleRuleKeyframe) 72 DEFINE_TRACE_AFTER_DISPATCH(StyleRuleKeyframe)
73 { 73 {
74 visitor->trace(m_properties); 74 visitor->trace(m_properties);
75 StyleRuleBase::traceAfterDispatch(visitor); 75 StyleRuleBase::traceAfterDispatch(visitor);
76 } 76 }
77 77
78 } // namespace blink 78 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleKeyframe.h ('k') | third_party/WebKit/Source/core/css/StyleRuleNamespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698