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

Unified Diff: Source/core/platform/PlatformMemoryInstrumentation.cpp

Issue 14636011: Support multiple HRTFDatabases for different sample-rates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add ASSERT(isMainThread()) Created 7 years, 7 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 | « no previous file | Source/core/platform/audio/HRTFDatabaseLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/PlatformMemoryInstrumentation.cpp
diff --git a/Source/core/platform/PlatformMemoryInstrumentation.cpp b/Source/core/platform/PlatformMemoryInstrumentation.cpp
index 2ece6f7d199e37c8d4e60436603d448eff972f9b..1f53540e60b389fa501c089cdbeecddab7b2d334 100644
--- a/Source/core/platform/PlatformMemoryInstrumentation.cpp
+++ b/Source/core/platform/PlatformMemoryInstrumentation.cpp
@@ -48,7 +48,7 @@ MemoryObjectType PlatformMemoryTypes::AudioSharedData = "Audio";
void PlatformMemoryInstrumentation::reportStaticMembersMemoryUsage(WTF::MemoryInstrumentation* memoryInstrumentation)
{
#if ENABLE(WEB_AUDIO)
- memoryInstrumentation->addRootObject(HRTFDatabaseLoader::loader());
+ memoryInstrumentation->addRootObject(HRTFDatabaseLoader::loaderMap());
#else
UNUSED_PARAM(memoryInstrumentation);
#endif
« no previous file with comments | « no previous file | Source/core/platform/audio/HRTFDatabaseLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698