Index: third_party/WebKit/Source/core/css/StylePropertySerializer.cpp |
diff --git a/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp b/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp |
index 4f3f20dcfe88d55a6ffaf83c2d95349e4a952024..66ab38387b06316e310db4f5221fdd32c2bcda11 100644 |
--- a/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp |
+++ b/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp |
@@ -29,6 +29,7 @@ |
#include "core/css/CSSPropertyMetadata.h" |
#include "core/css/CSSValuePool.h" |
#include "wtf/BitArray.h" |
+#include "wtf/LeakAnnotations.h" |
#include "wtf/text/StringBuilder.h" |
namespace blink { |
@@ -834,6 +835,7 @@ String StylePropertySerializer::borderPropertyValue(CommonValueMode valueMode) c |
static void appendBackgroundRepeatValue(StringBuilder& builder, const CSSValue& repeatXCSSValue, const CSSValue& repeatYCSSValue) |
{ |
+ WTF_ANNOTATE_SCOPED_MEMORY_LEAK; |
// FIXME: Ensure initial values do not appear in CSS_VALUE_LISTS. |
DEFINE_STATIC_REF_WILL_BE_PERSISTENT(CSSPrimitiveValue, initialRepeatValue, (CSSPrimitiveValue::createIdentifier(CSSValueRepeat))); |
const CSSPrimitiveValue& repeatX = repeatXCSSValue.isInitialValue() ? *initialRepeatValue : toCSSPrimitiveValue(repeatXCSSValue); |