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

Unified Diff: Source/core/css/PropertySetCSSStyleDeclaration.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/PropertySetCSSStyleDeclaration.h ('k') | Source/core/css/RuleFeature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/PropertySetCSSStyleDeclaration.cpp
diff --git a/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
index 56d9215a8697f9154240dd816d1497af2ffaa8fe..2972575aff2626871aadc8be87db647ee36db5de 100644
--- a/Source/core/css/PropertySetCSSStyleDeclaration.cpp
+++ b/Source/core/css/PropertySetCSSStyleDeclaration.cpp
@@ -30,8 +30,6 @@
#include "MutationRecord.h"
#include "StylePropertySet.h"
#include "StyledElement.h"
-#include "WebCoreMemoryInstrumentation.h"
-#include <wtf/MemoryInstrumentationHashMap.h>
using namespace std;
@@ -132,13 +130,6 @@ void PropertySetCSSStyleDeclaration::deref()
m_propertySet->deref();
}
-void PropertySetCSSStyleDeclaration::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- info.addMember(m_propertySet, "propertySet");
- info.addMember(m_cssomCSSValueClones, "cssomCSSValueClones");
-}
-
unsigned PropertySetCSSStyleDeclaration::length() const
{
return m_propertySet->propertyCount();
@@ -372,20 +363,6 @@ void StyleRuleCSSStyleDeclaration::reattach(StylePropertySet* propertySet)
m_propertySet->ref();
}
-void StyleRuleCSSStyleDeclaration::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- PropertySetCSSStyleDeclaration::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_parentRule, "parentRule");
-}
-
-void InlineCSSStyleDeclaration::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- PropertySetCSSStyleDeclaration::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_parentElement, "parentElement");
-}
-
void InlineCSSStyleDeclaration::didMutate(MutationType type)
{
if (type == NoChanges)
« no previous file with comments | « Source/core/css/PropertySetCSSStyleDeclaration.h ('k') | Source/core/css/RuleFeature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698