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

Unified Diff: Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.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/platform/audio/HRTFKernel.cpp ('k') | Source/core/platform/graphics/BitmapImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp
diff --git a/Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp b/Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp
index 7b88ed63d4236885bf894151f9134b1b938ac212..20cb808241b94ca1441871a734ad4162b086da6c 100644
--- a/Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp
+++ b/Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp
@@ -34,7 +34,6 @@
#include "FFTFrame.h"
-#include "PlatformMemoryInstrumentation.h"
#include "VectorMath.h"
extern "C" {
@@ -81,18 +80,6 @@ struct RDFTContextProxy {
}
-void reportMemoryUsage(const struct RDFTContext* const& object, WTF::MemoryObjectInfo* memoryObjectInfo)
-{
- const RDFTContextProxy* proxyObject = reinterpret_cast<const RDFTContextProxy*>(object);
-
- WTF::MemoryClassInfo info(memoryObjectInfo, proxyObject, 0, sizeof(RDFTContextProxy));
-
- // The size of buffers is counted the same way as it is counted in ff_rdft_init && ff_fft_init.
- size_t count = 1 << (proxyObject->nbits - 1);
- info.addRawBuffer(proxyObject->fft.revtab, count * sizeof(uint16_t), "FFTBuffer", "revtab");
- info.addRawBuffer(proxyObject->fft.tmpBuf, count * sizeof(FFTComplex), "FFTBuffer", "tmpBuf");
-}
-
namespace WebCore {
const int kMaxFFTPow2Size = 24;
« no previous file with comments | « Source/core/platform/audio/HRTFKernel.cpp ('k') | Source/core/platform/graphics/BitmapImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698