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

Unified Diff: Source/platform/exported/WebMediaStreamSource.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/exported/WebMediaStream.cpp ('k') | Source/platform/exported/WebMediaStreamTrack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebMediaStreamSource.cpp
diff --git a/Source/platform/exported/WebMediaStreamSource.cpp b/Source/platform/exported/WebMediaStreamSource.cpp
index c29ce5db7df1a000a52fd6881c001e613b72f496..8be20e9893fb674a6733c7f6672d472366e56e23 100644
--- a/Source/platform/exported/WebMediaStreamSource.cpp
+++ b/Source/platform/exported/WebMediaStreamSource.cpp
@@ -41,8 +41,6 @@
#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
-using namespace blink;
-
namespace blink {
namespace {
@@ -65,7 +63,7 @@ WebMediaStreamSource WebMediaStreamSource::ExtraData::owner()
return WebMediaStreamSource(m_owner);
}
-void WebMediaStreamSource::ExtraData::setOwner(blink::MediaStreamSource* owner)
+void WebMediaStreamSource::ExtraData::setOwner(MediaStreamSource* owner)
{
ASSERT(!m_owner);
m_owner = owner;
@@ -76,7 +74,7 @@ WebMediaStreamSource::WebMediaStreamSource(const PassRefPtr<MediaStreamSource>&
{
}
-WebMediaStreamSource& WebMediaStreamSource::operator=(blink::MediaStreamSource* mediaStreamSource)
+WebMediaStreamSource& WebMediaStreamSource::operator=(MediaStreamSource* mediaStreamSource)
{
m_private = mediaStreamSource;
return *this;
@@ -168,7 +166,7 @@ bool WebMediaStreamSource::requiresAudioConsumer() const
return m_private->requiresAudioConsumer();
}
-class ConsumerWrapper : public blink::AudioDestinationConsumer {
+class ConsumerWrapper : public AudioDestinationConsumer {
public:
static PassRefPtr<ConsumerWrapper> create(WebAudioDestinationConsumer* consumer)
{
@@ -199,7 +197,7 @@ void ConsumerWrapper::consumeAudio(AudioBus* bus, size_t numberOfFrames)
// Wrap AudioBus.
size_t numberOfChannels = bus->numberOfChannels();
- blink::WebVector<const float*> busVector(numberOfChannels);
+ WebVector<const float*> busVector(numberOfChannels);
for (size_t i = 0; i < numberOfChannels; ++i)
busVector[i] = bus->channel(i)->data();
« no previous file with comments | « Source/platform/exported/WebMediaStream.cpp ('k') | Source/platform/exported/WebMediaStreamTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698