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

Unified Diff: Source/platform/audio/AudioBus.cpp

Issue 458313005: Cleanup namespace usage from animation to exported in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup namespace usage from animation to exported in platform/ Created 6 years, 4 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/platform/animation/TimingFunctionTest.cpp ('k') | Source/platform/audio/AudioDSPKernel.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/AudioBus.cpp
diff --git a/Source/platform/audio/AudioBus.cpp b/Source/platform/audio/AudioBus.cpp
index 5f2e9cc83a2afab87f7e3f34257c12ba4ef9edd3..06459af88102084b89466495a78134d08dc0632f 100644
--- a/Source/platform/audio/AudioBus.cpp
+++ b/Source/platform/audio/AudioBus.cpp
@@ -637,15 +637,15 @@ void AudioBus::clearSilentFlag()
PassRefPtr<AudioBus> decodeAudioFileData(const char* data, size_t size)
{
- blink::WebAudioBus webAudioBus;
- if (blink::Platform::current()->loadAudioResource(&webAudioBus, data, size))
+ WebAudioBus webAudioBus;
+ if (Platform::current()->loadAudioResource(&webAudioBus, data, size))
return webAudioBus.release();
return nullptr;
}
PassRefPtr<AudioBus> AudioBus::loadPlatformResource(const char* name, float sampleRate)
{
- const blink::WebData& resource = blink::Platform::current()->loadResource(name);
+ const WebData& resource = Platform::current()->loadResource(name);
if (resource.isEmpty())
return nullptr;
« no previous file with comments | « Source/platform/animation/TimingFunctionTest.cpp ('k') | Source/platform/audio/AudioDSPKernel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698