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

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

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 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 <memory>
7 #include "core/css/StylePropertySet.h" 8 #include "core/css/StylePropertySet.h"
8 #include "core/css/parser/CSSParser.h" 9 #include "core/css/parser/CSSParser.h"
9 #include "wtf/text/StringBuilder.h" 10 #include "platform/wtf/text/StringBuilder.h"
10 #include <memory>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 StyleRuleKeyframe::StyleRuleKeyframe(std::unique_ptr<Vector<double>> keys, 14 StyleRuleKeyframe::StyleRuleKeyframe(std::unique_ptr<Vector<double>> keys,
15 StylePropertySet* properties) 15 StylePropertySet* properties)
16 : StyleRuleBase(kKeyframe), properties_(properties), keys_(*keys) {} 16 : StyleRuleBase(kKeyframe), properties_(properties), keys_(*keys) {}
17 17
18 String StyleRuleKeyframe::KeyText() const { 18 String StyleRuleKeyframe::KeyText() const {
19 DCHECK(!keys_.IsEmpty()); 19 DCHECK(!keys_.IsEmpty());
20 20
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 result.Append('}'); 62 result.Append('}');
63 return result.ToString(); 63 return result.ToString();
64 } 64 }
65 65
66 DEFINE_TRACE_AFTER_DISPATCH(StyleRuleKeyframe) { 66 DEFINE_TRACE_AFTER_DISPATCH(StyleRuleKeyframe) {
67 visitor->Trace(properties_); 67 visitor->Trace(properties_);
68 StyleRuleBase::TraceAfterDispatch(visitor); 68 StyleRuleBase::TraceAfterDispatch(visitor);
69 } 69 }
70 70
71 } // namespace blink 71 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRule.h ('k') | third_party/WebKit/Source/core/css/StyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698