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

Unified Diff: Source/core/platform/animation/CSSAnimationData.h

Issue 90033004: Have CSSAnimationData::name() / initialAnimationName() return an AtomicString (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/platform/animation/CSSAnimationData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/animation/CSSAnimationData.h
diff --git a/Source/core/platform/animation/CSSAnimationData.h b/Source/core/platform/animation/CSSAnimationData.h
index 6744748f4a3ba76d2d3fba898179fc5f5de6fa52..7f6e79ab91032181ae6b2313b9c26e4971eed7d6 100644
--- a/Source/core/platform/animation/CSSAnimationData.h
+++ b/Source/core/platform/animation/CSSAnimationData.h
@@ -115,7 +115,7 @@ public:
enum { IterationCountInfinite = -1 };
double iterationCount() const { return m_iterationCount; }
- const String& name() const { return m_name; }
+ const AtomicString& name() const { return m_name; }
EAnimPlayState playState() const { return static_cast<EAnimPlayState>(m_playState); }
CSSPropertyID property() const { return m_property; }
TimingFunction* timingFunction() const { return m_timingFunction.get(); }
@@ -181,7 +181,7 @@ public:
static double initialAnimationDuration() { return 0; }
static unsigned initialAnimationFillMode() { return AnimationFillModeNone; }
static double initialAnimationIterationCount() { return 1.0; }
- static const String& initialAnimationName();
+ static const AtomicString& initialAnimationName();
static EAnimPlayState initialAnimationPlayState() { return AnimPlayStatePlaying; }
static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid; }
static const PassRefPtr<TimingFunction> initialAnimationTimingFunction() { return CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); }
« no previous file with comments | « no previous file | Source/core/platform/animation/CSSAnimationData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698