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

Unified Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 566373002: Use ConstructFromLiteral instead of implicit conversion (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Two more fixes Created 6 years, 3 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
« no previous file with comments | « Source/core/svg/SVGFontFaceUriElement.cpp ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/animation/SVGSMILElement.cpp
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
index a1d796284bd01b28b1c59504cd042782862d5c91..2599705e33697016355f2d486d00e4496cb540a1 100644
--- a/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/Source/core/svg/animation/SVGSMILElement.cpp
@@ -80,25 +80,25 @@ inline RepeatEvent* toRepeatEvent(Event* event)
static SMILEventSender& smilEndEventSender()
{
- DEFINE_STATIC_LOCAL(SMILEventSender, sender, ("endEvent"));
+ DEFINE_STATIC_LOCAL(SMILEventSender, sender, (EventTypeNames::endEvent));
return sender;
}
static SMILEventSender& smilBeginEventSender()
{
- DEFINE_STATIC_LOCAL(SMILEventSender, sender, ("beginEvent"));
+ DEFINE_STATIC_LOCAL(SMILEventSender, sender, (EventTypeNames::beginEvent));
return sender;
}
static SMILEventSender& smilRepeatEventSender()
{
- DEFINE_STATIC_LOCAL(SMILEventSender, sender, ("repeatEvent"));
+ DEFINE_STATIC_LOCAL(SMILEventSender, sender, (EventTypeNames::repeatEvent));
return sender;
}
static SMILEventSender& smilRepeatNEventSender()
{
- DEFINE_STATIC_LOCAL(SMILEventSender, sender, ("repeatn"));
+ DEFINE_STATIC_LOCAL(SMILEventSender, sender, (AtomicString("repeatn", AtomicString::ConstructFromLiteral)));
return sender;
}
« no previous file with comments | « Source/core/svg/SVGFontFaceUriElement.cpp ('k') | Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698