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

Unified Diff: third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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
Index: third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp b/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp
index ab4f0e2452ba2ea225f05e26f7e4dffd637d932c..b4cdd95f912dc21f77e63d440c30cef966929599 100644
--- a/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp
@@ -57,7 +57,7 @@ RealtimeAnalyser::RealtimeAnalyser()
m_minDecibels(DefaultMinDecibels),
m_maxDecibels(DefaultMaxDecibels),
m_lastAnalysisTime(-1) {
- m_analysisFrame = makeUnique<FFTFrame>(DefaultFFTSize);
+ m_analysisFrame = WTF::makeUnique<FFTFrame>(DefaultFFTSize);
}
bool RealtimeAnalyser::setFftSize(size_t size) {
@@ -71,7 +71,7 @@ bool RealtimeAnalyser::setFftSize(size_t size) {
return false;
if (m_fftSize != size) {
- m_analysisFrame = makeUnique<FFTFrame>(size);
+ m_analysisFrame = WTF::makeUnique<FFTFrame>(size);
// m_magnitudeBuffer has size = fftSize / 2 because it contains floats
// reduced from complex values in m_analysisFrame.
m_magnitudeBuffer.allocate(size / 2);

Powered by Google App Engine
This is Rietveld 408576698