From 3749d61e1f7a59f5ec5067e560af1eb610c82015 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 12 Aug 2012 09:27:39 +0200 Subject: Imported WebKit commit a77350243e054f3460d1137301d8b3faee3d2052 (http://svn.webkit.org/repository/webkit/trunk@125365) New snapshot with build fixes for latest API changes in Qt and all WK1 Win MSVC fixes upstream --- Source/WebCore/css/CSSFunctionValue.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Source/WebCore/css/CSSFunctionValue.cpp') diff --git a/Source/WebCore/css/CSSFunctionValue.cpp b/Source/WebCore/css/CSSFunctionValue.cpp index 522ad9fd1..628a989ba 100644 --- a/Source/WebCore/css/CSSFunctionValue.cpp +++ b/Source/WebCore/css/CSSFunctionValue.cpp @@ -28,6 +28,7 @@ #include "CSSParserValues.h" #include "CSSValueList.h" +#include "MemoryInstrumentation.h" #include namespace WebCore { @@ -49,4 +50,11 @@ String CSSFunctionValue::customCssText() const return result; } +void CSSFunctionValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const +{ + MemoryClassInfo info(memoryObjectInfo, this, MemoryInstrumentation::CSS); + info.addMember(m_name); + info.addInstrumentedMember(m_args); +} + } -- cgit v1.2.1