Chromium Code Reviews

Unified Diff: Source/WebCore/webaudio/RealtimeAnalyser.cpp

Issue 7745029: Merge 92408 - Make sure that AudioArray is 16-byte aligned (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/WebCore/webaudio/DelayDSPKernel.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/webaudio/RealtimeAnalyser.cpp
===================================================================
--- Source/WebCore/webaudio/RealtimeAnalyser.cpp (revision 93809)
+++ Source/WebCore/webaudio/RealtimeAnalyser.cpp (working copy)
@@ -90,7 +90,7 @@
if (m_fftSize != size) {
m_analysisFrame = adoptPtr(new FFTFrame(m_fftSize));
- m_magnitudeBuffer.resize(size);
+ m_magnitudeBuffer.allocate(size);
m_fftSize = size;
}
}
« no previous file with comments | « Source/WebCore/webaudio/DelayDSPKernel.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine