diff options
author | loislo@chromium.org <loislo@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-07-17 11:59:21 +0000 |
---|---|---|
committer | loislo@chromium.org <loislo@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-07-17 11:59:21 +0000 |
commit | f76d002b40337d9aeb004ea9bfdf716abe011ecb (patch) | |
tree | b54b64cccb1c3b04646662c8599cd12bfb80852d /third_party/WebKit/Source/modules/webaudio/AudioNode.cpp | |
parent | 6265aa88f7d3ff3a095a2f241f53b812471a5df9 (diff) | |
download | chromium_src-f76d002b40337d9aeb004ea9bfdf716abe011ecb.zip chromium_src-f76d002b40337d9aeb004ea9bfdf716abe011ecb.tar.gz chromium_src-f76d002b40337d9aeb004ea9bfdf716abe011ecb.tar.bz2 |
DevTools: completely remove native memory instrumentation
Current approach doesn't work properly.
It covers about 70% of memory.
It affects binary size ~600Kb.
It doesn't scale because the binary size.
It is fragile.
BUG=234422
TBR=yurys@chromium.org
Review URL: https://codereview.chromium.org/19553002
git-svn-id: svn://svn.chromium.org/blink/trunk@154395 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/Source/modules/webaudio/AudioNode.cpp')
-rw-r--r-- | third_party/WebKit/Source/modules/webaudio/AudioNode.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp index 460f772..406b2db 100644 --- a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp +++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp @@ -29,14 +29,12 @@ #include "modules/webaudio/AudioNode.h" #include "core/dom/ExceptionCode.h" -#include "core/dom/WebCoreMemoryInstrumentation.h" #include "modules/webaudio/AudioContext.h" #include "modules/webaudio/AudioNodeInput.h" #include "modules/webaudio/AudioNodeOutput.h" #include "modules/webaudio/AudioParam.h" #include "wtf/Atomics.h" #include "wtf/MainThread.h" -#include "wtf/MemoryInstrumentationVector.h" #if DEBUG_AUDIONODE_REFERENCES #include <stdio.h> @@ -504,14 +502,6 @@ void AudioNode::finishDeref(RefType refType) } } -void AudioNode::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const -{ - MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Audio); - info.addMember(m_context, "context"); - info.addMember(m_inputs, "inputs"); - info.addMember(m_outputs, "outputs"); -} - #if DEBUG_AUDIONODE_REFERENCES bool AudioNode::s_isNodeCountInitialized = false; |