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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp

Issue 2668903003: Replace WTF::emptyString{16Bit}() with a static global (Closed)
Patch Set: Replace WTF::emptyString{16Bit}() with a static global Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
index 09b2ab8ba87171f9ac8183f44347c723c74508cc..a93258afa8a811d2cfe65c3f90397f1805a5575f 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
@@ -559,11 +559,11 @@ void SVGAnimationElement::startedActiveInterval() {
// For to-animations the from value is the current accumulated value from
// lower priority animations.
// The value is not static and is determined during the animation.
- m_animationValid = calculateFromAndToValues(emptyString(), to);
+ m_animationValid = calculateFromAndToValues(emptyString, to);
} else if (animationMode == FromByAnimation) {
m_animationValid = calculateFromAndByValues(from, by);
} else if (animationMode == ByAnimation) {
- m_animationValid = calculateFromAndByValues(emptyString(), by);
+ m_animationValid = calculateFromAndByValues(emptyString, by);
} else if (animationMode == ValuesAnimation) {
m_animationValid =
m_values.size() >= 1 && (calcMode == CalcModePaced ||
« no previous file with comments | « third_party/WebKit/Source/core/style/QuotesData.cpp ('k') | third_party/WebKit/Source/core/svg/SVGEnumeration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698