Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Unified Diff: Source/core/css/CSSPrimitiveValue.cpp

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSPrimitiveValue.h ('k') | Source/core/css/CSSProperty.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValue.cpp
diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
index 12a0779cb2b46540faae42096841eb4bdf61c197..a9ba06d40896898a4797458fe0f541dbd9af783a 100644
--- a/Source/core/css/CSSPrimitiveValue.cpp
+++ b/Source/core/css/CSSPrimitiveValue.cpp
@@ -39,7 +39,6 @@
#include "Rect.h"
#include "RenderStyle.h"
#include "StyleSheetContents.h"
-#include "WebCoreMemoryInstrumentation.h"
#include <wtf/ASCIICType.h>
#include <wtf/DecimalNumber.h>
#include <wtf/StdLibExtras.h>
@@ -1268,41 +1267,4 @@ bool CSSPrimitiveValue::equals(const CSSPrimitiveValue& other) const
return false;
}
-void CSSPrimitiveValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- switch (m_primitiveUnitType) {
- case CSS_ATTR:
- case CSS_COUNTER_NAME:
- case CSS_PARSER_IDENTIFIER:
- case CSS_PARSER_HEXCOLOR:
- case CSS_STRING:
- case CSS_URI:
- case CSS_VARIABLE_NAME:
- // FIXME: detect other cases when m_value is StringImpl*
- info.addMember(m_value.string, "value.string");
- break;
- case CSS_COUNTER:
- info.addMember(m_value.counter, "value.counter");
- break;
- case CSS_RECT:
- info.addMember(m_value.rect, "value.rect");
- break;
- case CSS_QUAD:
- info.addMember(m_value.quad, "value.quad");
- break;
- case CSS_PAIR:
- info.addMember(m_value.pair, "value.pair");
- break;
- case CSS_SHAPE:
- info.addMember(m_value.shape, "value.shape");
- break;
- case CSS_CALC:
- info.addMember(m_value.calc, "value.calc");
- break;
- default:
- break;
- }
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/css/CSSPrimitiveValue.h ('k') | Source/core/css/CSSProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698