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

Unified Diff: Source/modules/webaudio/AudioContext.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/modules/webaudio/AudioContext.h ('k') | Source/modules/webaudio/AudioNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioContext.cpp
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp
index 9dc2df9b170720dfcd6202c9e9fbcbef79390018..1e564d06a3c881b5915981c826853004db5058be 100644
--- a/Source/modules/webaudio/AudioContext.cpp
+++ b/Source/modules/webaudio/AudioContext.cpp
@@ -57,9 +57,6 @@
#include "ScriptProcessorNode.h"
#include "WaveShaperNode.h"
#include "WaveTable.h"
-#include "WebCoreMemoryInstrumentation.h"
-#include <wtf/MemoryInstrumentationHashSet.h>
-#include <wtf/MemoryInstrumentationVector.h>
#if ENABLE(MEDIA_STREAM)
#include "MediaStream.h"
@@ -970,30 +967,6 @@ void AudioContext::decrementActiveSourceCount()
atomicDecrement(&m_activeSourceCount);
}
-void AudioContext::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- AutoLocker locker(const_cast<AudioContext*>(this));
-
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Audio);
- ActiveDOMObject::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_destinationNode, "destinationNode");
- info.addMember(m_listener, "listener");
- info.addMember(m_finishedNodes, "finishedNodes");
- info.addMember(m_referencedNodes, "referencedNodes");
- info.addMember(m_nodesMarkedForDeletion, "nodesMarkedForDeletion");
- info.addMember(m_nodesToDelete, "nodesToDelete");
- info.addMember(m_dirtySummingJunctions, "dirtySummingJunctions");
- info.addMember(m_dirtyAudioNodeOutputs, "dirtyAudioNodeOutputs");
- info.addMember(m_automaticPullNodes, "automaticPullNodes");
- info.addMember(m_renderingAutomaticPullNodes, "renderingAutomaticPullNodes");
- info.addMember(m_contextGraphMutex, "contextGraphMutex");
- info.addMember(m_deferredFinishDerefList, "deferredFinishDerefList");
- info.addMember(m_hrtfDatabaseLoader, "hrtfDatabaseLoader");
- info.addMember(m_eventTargetData, "eventTargetData");
- info.addMember(m_renderTarget, "renderTarget");
- info.addMember(m_audioDecoder, "audioDecoder");
-}
-
} // namespace WebCore
#endif // ENABLE(WEB_AUDIO)
« no previous file with comments | « Source/modules/webaudio/AudioContext.h ('k') | Source/modules/webaudio/AudioNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698