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

Unified Diff: Source/core/dom/DocumentStyleSheetCollection.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/dom/DocumentStyleSheetCollection.h ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentStyleSheetCollection.cpp
diff --git a/Source/core/dom/DocumentStyleSheetCollection.cpp b/Source/core/dom/DocumentStyleSheetCollection.cpp
index 3b57964baa45fac1aabb3d5551359a4cd06f061b..a42e32d1910a50fb1e060381d7814b3d811296e7 100644
--- a/Source/core/dom/DocumentStyleSheetCollection.cpp
+++ b/Source/core/dom/DocumentStyleSheetCollection.cpp
@@ -48,9 +48,6 @@
#include "StyleSheetContents.h"
#include "StyleSheetList.h"
#include "UserContentURLPattern.h"
-#include "WebCoreMemoryInstrumentation.h"
-#include <wtf/MemoryInstrumentationListHashSet.h>
-#include <wtf/MemoryInstrumentationVector.h>
namespace WebCore {
@@ -489,20 +486,4 @@ bool DocumentStyleSheetCollection::updateActiveStyleSheets(UpdateFlag updateFlag
return requiresFullStyleRecalc;
}
-void DocumentStyleSheetCollection::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM);
- info.addMember(m_pageUserSheet, "pageUserSheet");
- info.addMember(m_injectedUserStyleSheets, "injectedUserStyleSheets");
- info.addMember(m_injectedAuthorStyleSheets, "injectedAuthorStyleSheets");
- info.addMember(m_userStyleSheets, "userStyleSheets");
- info.addMember(m_authorStyleSheets, "authorStyleSheets");
- info.addMember(m_activeAuthorStyleSheets, "activeAuthorStyleSheets");
- info.addMember(m_styleSheetsForStyleSheetList, "styleSheetsForStyleSheetList");
- info.addMember(m_styleSheetCandidateNodes, "styleSheetCandidateNodes");
- info.addMember(m_preferredStylesheetSetName, "preferredStylesheetSetName");
- info.addMember(m_selectedStylesheetSetName, "selectedStylesheetSetName");
- info.addMember(m_document, "document");
-}
-
}
« no previous file with comments | « Source/core/dom/DocumentStyleSheetCollection.h ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698