Index: Source/core/css/CSSGradientValue.cpp |
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp |
index 8f168ab72ce30756de0341784df800fd3760bf2e..f20f472d09e3cfbe4d2fe922a5901ef93c393cdb 100644 |
--- a/Source/core/css/CSSGradientValue.cpp |
+++ b/Source/core/css/CSSGradientValue.cpp |
@@ -36,8 +36,6 @@ |
#include "NodeRenderStyle.h" |
#include "RenderObject.h" |
#include "StyleResolver.h" |
-#include "WebCoreMemoryInstrumentation.h" |
-#include <wtf/MemoryInstrumentationVector.h> |
#include <wtf/text/StringBuilder.h> |
#include <wtf/text/WTFString.h> |
@@ -45,13 +43,6 @@ using namespace std; |
namespace WebCore { |
-void CSSGradientColorStop::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
-{ |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); |
- info.addMember(m_position, "position"); |
- info.addMember(m_color, "color"); |
-} |
- |
PassRefPtr<Image> CSSGradientValue::image(RenderObject* renderer, const IntSize& size) |
{ |
if (size.isEmpty()) |
@@ -471,17 +462,6 @@ bool CSSGradientValue::knownToBeOpaque(const RenderObject*) const |
return true; |
} |
-void CSSGradientValue::reportBaseClassMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
-{ |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); |
- CSSImageGeneratorValue::reportBaseClassMemoryUsage(memoryObjectInfo); |
- info.addMember(m_firstX, "firstX"); |
- info.addMember(m_firstY, "firstY"); |
- info.addMember(m_secondX, "secondX"); |
- info.addMember(m_secondY, "secondY"); |
- info.addMember(m_stops, "stops"); |
-} |
- |
String CSSLinearGradientValue::customCssText() const |
{ |
StringBuilder result; |
@@ -755,13 +735,6 @@ bool CSSLinearGradientValue::equals(const CSSLinearGradientValue& other) const |
return equalXorY && m_stops == other.m_stops; |
} |
-void CSSLinearGradientValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
-{ |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); |
- CSSGradientValue::reportBaseClassMemoryUsage(memoryObjectInfo); |
- info.addMember(m_angle, "angle"); |
-} |
- |
String CSSRadialGradientValue::customCssText() const |
{ |
StringBuilder result; |
@@ -1190,16 +1163,4 @@ bool CSSRadialGradientValue::equals(const CSSRadialGradientValue& other) const |
return equalShape && equalSizingBehavior && equalHorizontalAndVerticalSize && m_stops == other.m_stops; |
} |
-void CSSRadialGradientValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
-{ |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); |
- CSSGradientValue::reportBaseClassMemoryUsage(memoryObjectInfo); |
- info.addMember(m_firstRadius, "firstRadius"); |
- info.addMember(m_secondRadius, "secondRadius"); |
- info.addMember(m_shape, "shape"); |
- info.addMember(m_sizingBehavior, "sizingBehavior"); |
- info.addMember(m_endHorizontalSize, "endHorizontalSize"); |
- info.addMember(m_endVerticalSize, "endVerticalSize"); |
-} |
- |
} // namespace WebCore |