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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioBus.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/platform/audio/AudioBus.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioBus.cpp b/third_party/WebKit/Source/platform/audio/AudioBus.cpp
index 611be8e2178d95a531ed464adf8711822b2182b0..8fc9784ae9061a3e28e841f36c9fc17c904a37e4 100644
--- a/third_party/WebKit/Source/platform/audio/AudioBus.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioBus.cpp
@@ -61,8 +61,8 @@ AudioBus::AudioBus(unsigned numberOfChannels, size_t length, bool allocate)
for (unsigned i = 0; i < numberOfChannels; ++i) {
std::unique_ptr<AudioChannel> channel =
- allocate ? wrapUnique(new AudioChannel(length))
- : wrapUnique(new AudioChannel(0, length));
+ allocate ? WTF::wrapUnique(new AudioChannel(length))
+ : WTF::wrapUnique(new AudioChannel(0, length));
m_channels.append(std::move(channel));
}
@@ -524,7 +524,7 @@ void AudioBus::copyWithGainFrom(const AudioBus& sourceBus,
if (framesToDezipper) {
if (!m_dezipperGainValues.get() ||
m_dezipperGainValues->size() < framesToDezipper)
- m_dezipperGainValues = makeUnique<AudioFloatArray>(framesToDezipper);
+ m_dezipperGainValues = WTF::makeUnique<AudioFloatArray>(framesToDezipper);
float* gainValues = m_dezipperGainValues->data();
for (unsigned i = 0; i < framesToDezipper; ++i) {

Powered by Google App Engine
This is Rietveld 408576698