diff options
Diffstat (limited to 'WebCore/platform/graphics/GraphicsLayer.cpp')
-rw-r--r-- | WebCore/platform/graphics/GraphicsLayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/GraphicsLayer.cpp b/WebCore/platform/graphics/GraphicsLayer.cpp index 412f06d..08b79ab 100644 --- a/WebCore/platform/graphics/GraphicsLayer.cpp +++ b/WebCore/platform/graphics/GraphicsLayer.cpp @@ -33,6 +33,7 @@ #include "RotateTransformOperation.h" #include "TextStream.h" #include <wtf/text/CString.h> +#include <wtf/text/StringConcatenate.h> #ifndef NDEBUG #include <stdio.h> @@ -249,7 +250,7 @@ void GraphicsLayer::paintGraphicsLayerContents(GraphicsContext& context, const I String GraphicsLayer::animationNameForTransition(AnimatedPropertyID property) { // | is not a valid identifier character in CSS, so this can never conflict with a keyframe identifier. - return String::format("-|transition%c-", property); + return makeString("-|transition", static_cast<char>(property), '-'); } void GraphicsLayer::suspendAnimations(double) |