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

Unified Diff: Source/core/css/resolver/CSSToStyleMap.cpp

Issue 100463004: Make calls to AtomicString(const String&) explicit in css/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make MediaQuery::mediaType() return an AtomicString Created 7 years 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
Index: Source/core/css/resolver/CSSToStyleMap.cpp
diff --git a/Source/core/css/resolver/CSSToStyleMap.cpp b/Source/core/css/resolver/CSSToStyleMap.cpp
index c9958b743032a50b2a4c21b828a9dbc11a1cd970..33dceb067cdde4d8c39f7e3ddde3ec4e3bda1186 100644
--- a/Source/core/css/resolver/CSSToStyleMap.cpp
+++ b/Source/core/css/resolver/CSSToStyleMap.cpp
@@ -401,7 +401,7 @@ void CSSToStyleMap::mapAnimationName(CSSAnimationData* layer, CSSValue* value) c
if (primitiveValue->getValueID() == CSSValueNone)
layer->setIsNoneAnimation(true);
else
- layer->setName(primitiveValue->getStringValue());
+ layer->setName(AtomicString(primitiveValue->getStringValue()));
}
void CSSToStyleMap::mapAnimationPlayState(CSSAnimationData* layer, CSSValue* value) const

Powered by Google App Engine
This is Rietveld 408576698