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

Unified Diff: Source/core/rendering/style/RenderStyle.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/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/RenderStyle.cpp
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
index 5839a7753f6c3a3f37835e7b801cbb763562fbbd..ca615a86e99ff5d8d231ec6ce1df317787e0a8e5 100644
--- a/Source/core/rendering/style/RenderStyle.cpp
+++ b/Source/core/rendering/style/RenderStyle.cpp
@@ -38,10 +38,7 @@
#include "StyleResolver.h"
#include "RenderTheme.h"
#include "TextAutosizer.h"
-#include "WebCoreMemoryInstrumentation.h"
#include <wtf/MathExtras.h>
-#include <wtf/MemoryInstrumentationVector.h>
-#include <wtf/MemoryObjectInfo.h>
#include <wtf/StdLibExtras.h>
#include <algorithm>
@@ -1570,25 +1567,4 @@ ExclusionShapeValue* RenderStyle::initialShapeInside()
return sOutsideValue.get();
}
-void RenderStyle::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- info.addMember(m_box, "box");
- info.addMember(visual, "visual");
- // FIXME: m_background contains RefPtr<StyleImage> that might need to be instrumented.
- info.addMember(m_background, "background");
- // FIXME: surrond contains some fields e.g. BorderData that might need to be instrumented.
- info.addMember(surround, "surround");
- info.addMember(rareNonInheritedData, "rareNonInheritedData");
- info.addMember(rareInheritedData, "rareInheritedData");
- // FIXME: inherited contains StyleImage and Font fields that might need to be instrumented.
- info.addMember(inherited, "inherited");
- info.addMember(m_cachedPseudoStyles, "cachedPseudoStyles");
-#if ENABLE(SVG)
- info.addMember(m_svgStyle, "svgStyle");
-#endif
- info.addMember(inherited_flags, "inherited_flags");
- info.addMember(noninherited_flags, "noninherited_flags");
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698