Index: Source/core/animation/AnimatableStrokeDasharrayList.cpp |
diff --git a/Source/core/animation/AnimatableStrokeDasharrayList.cpp b/Source/core/animation/AnimatableStrokeDasharrayList.cpp |
index 5d4ff29d43c4195bce4f7f57fa61141c459906b6..f81e3513a1edc815db399c266ba8ac2cd46d3cb7 100644 |
--- a/Source/core/animation/AnimatableStrokeDasharrayList.cpp |
+++ b/Source/core/animation/AnimatableStrokeDasharrayList.cpp |
@@ -75,11 +75,7 @@ PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableStrokeDasharrayList::interpola |
if (from.isEmpty() && to.isEmpty()) |
return takeConstRef(this); |
if (from.isEmpty() || to.isEmpty()) { |
-#if ENABLE_OILPAN |
- DEFINE_STATIC_LOCAL(Persistent<AnimatableSVGLength>, zeroPixels, (AnimatableSVGLength::create(SVGLength::create()))); |
-#else |
- DEFINE_STATIC_REF(AnimatableSVGLength, zeroPixels, AnimatableSVGLength::create(SVGLength::create()).leakRef()); |
-#endif |
+ DEFINE_STATIC_REF_WILL_BE_PERSISTENT(AnimatableSVGLength, zeroPixels, (AnimatableSVGLength::create(SVGLength::create()))); |
if (from.isEmpty()) { |
from.append(zeroPixels); |
from.append(zeroPixels); |