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

Unified Diff: Source/core/dom/ScriptExecutionContext.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/ScriptExecutionContext.h ('k') | Source/core/dom/SecurityContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptExecutionContext.cpp
diff --git a/Source/core/dom/ScriptExecutionContext.cpp b/Source/core/dom/ScriptExecutionContext.cpp
index 3070f083ed7e66ff14c8ca54ee24870cab40f434..9d2e9df3b5e4abec23dfcacaf798b0ba15df4982 100644
--- a/Source/core/dom/ScriptExecutionContext.cpp
+++ b/Source/core/dom/ScriptExecutionContext.cpp
@@ -37,21 +37,11 @@
#include "PublicURLManager.h"
#include "ScriptCallStack.h"
#include "Settings.h"
-#include "WebCoreMemoryInstrumentation.h"
#include "WorkerContext.h"
#include "WorkerThread.h"
#include <wtf/MainThread.h>
-#include <wtf/MemoryInstrumentationHashMap.h>
-#include <wtf/MemoryInstrumentationVector.h>
#include <wtf/Vector.h>
-namespace WTF {
-
-template<> struct SequenceMemoryInstrumentationTraits<WebCore::ContextDestructionObserver*> {
- template <typename I> static void reportMemoryUsage(I, I, MemoryClassInfo&) { }
-};
-
-}
namespace WebCore {
class ProcessMessagesSoonTask : public ScriptExecutionContext::Task {
@@ -374,18 +364,6 @@ double ScriptExecutionContext::timerAlignmentInterval() const
return Settings::defaultDOMTimerAlignmentInterval();
}
-void ScriptExecutionContext::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM);
- SecurityContext::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_messagePorts, "messagePorts");
- info.addMember(m_destructionObservers, "destructionObservers");
- info.addMember(m_activeDOMObjects, "activeDOMObjects");
- info.addMember(m_timeouts, "timeouts");
- info.addMember(m_pendingExceptions, "pendingExceptions");
- info.addMember(m_publicURLManager, "publicURLManager");
-}
-
ScriptExecutionContext::Task::~Task()
{
}
« no previous file with comments | « Source/core/dom/ScriptExecutionContext.h ('k') | Source/core/dom/SecurityContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698