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

Unified Diff: Source/web/WebMediaPlayerClientImpl.cpp

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/web/WebMediaDevicesRequest.cpp ('k') | Source/web/WebMediaStreamRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebMediaPlayerClientImpl.cpp
diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
index 8ae9ba35a8c2767d27701d7cd673129784e9af49..743061e1cec400b3cb3cdcf04ecbfe3cd42964a0 100644
--- a/Source/web/WebMediaPlayerClientImpl.cpp
+++ b/Source/web/WebMediaPlayerClientImpl.cpp
@@ -48,8 +48,6 @@
#include "wtf/Assertions.h"
#include "wtf/text/CString.h"
-using namespace blink;
-
namespace blink {
static PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(WebMediaPlayerClient* client, const WebURL& url, LocalFrame* frame)
@@ -131,7 +129,7 @@ void WebMediaPlayerClientImpl::keyNeeded(const WebString& contentType, const uns
HTMLMediaElementEncryptedMedia::keyNeeded(mediaElement(), contentType, initData, initDataLength);
}
-void WebMediaPlayerClientImpl::setWebLayer(blink::WebLayer* layer)
+void WebMediaPlayerClientImpl::setWebLayer(WebLayer* layer)
{
m_client->mediaPlayerSetWebLayer(layer);
}
@@ -235,7 +233,7 @@ WebMediaPlayerClientImpl::WebMediaPlayerClientImpl(MediaPlayerClient* client)
ASSERT(m_client);
}
-blink::HTMLMediaElement& WebMediaPlayerClientImpl::mediaElement() const
+HTMLMediaElement& WebMediaPlayerClientImpl::mediaElement() const
{
return *static_cast<HTMLMediaElement*>(m_client);
}
« no previous file with comments | « Source/web/WebMediaDevicesRequest.cpp ('k') | Source/web/WebMediaStreamRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698