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

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

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 | « Source/core/platform/animation/CSSAnimationData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/animation/CSSAnimationData.cpp
diff --git a/Source/core/platform/animation/CSSAnimationData.cpp b/Source/core/platform/animation/CSSAnimationData.cpp
index a3bee6aca2a4a66a4a1b0856a70c1f1fd3a2d4b1..277944ba1d3c2c93dc2abe9fe2c91159a52c5ffd 100644
--- a/Source/core/platform/animation/CSSAnimationData.cpp
+++ b/Source/core/platform/animation/CSSAnimationData.cpp
@@ -119,9 +119,9 @@ bool CSSAnimationData::animationsMatchForStyleRecalc(const CSSAnimationData* o)
&& m_isNone == o->m_isNone;
}
-const String& CSSAnimationData::initialAnimationName()
+const AtomicString& CSSAnimationData::initialAnimationName()
{
- DEFINE_STATIC_LOCAL(String, initialValue, ("none"));
+ DEFINE_STATIC_LOCAL(const AtomicString, initialValue, ("none"));
return initialValue;
}
« no previous file with comments | « Source/core/platform/animation/CSSAnimationData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698