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

Unified Diff: Source/web/WebSecurityOrigin.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/WebScrollbarThemePainter.cpp ('k') | Source/web/WebSecurityPolicy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSecurityOrigin.cpp
diff --git a/Source/web/WebSecurityOrigin.cpp b/Source/web/WebSecurityOrigin.cpp
index 1e5904dc33a9bd33b443ff9bbfe2c91b1b4639b7..4aea44d27c80cf07328c50f1ef89622a31ebad5e 100644
--- a/Source/web/WebSecurityOrigin.cpp
+++ b/Source/web/WebSecurityOrigin.cpp
@@ -38,8 +38,6 @@
#include "public/platform/WebURL.h"
#include "wtf/PassRefPtr.h"
-using namespace blink;
-
namespace blink {
class WebSecurityOriginPrivate : public SecurityOrigin {
@@ -137,18 +135,18 @@ bool WebSecurityOrigin::canAccessPasswordManager() const
return m_private->canAccessPasswordManager();
}
-WebSecurityOrigin::WebSecurityOrigin(const WTF::PassRefPtr<blink::SecurityOrigin>& origin)
+WebSecurityOrigin::WebSecurityOrigin(const WTF::PassRefPtr<SecurityOrigin>& origin)
: m_private(static_cast<WebSecurityOriginPrivate*>(origin.leakRef()))
{
}
-WebSecurityOrigin& WebSecurityOrigin::operator=(const WTF::PassRefPtr<blink::SecurityOrigin>& origin)
+WebSecurityOrigin& WebSecurityOrigin::operator=(const WTF::PassRefPtr<SecurityOrigin>& origin)
{
assign(static_cast<WebSecurityOriginPrivate*>(origin.leakRef()));
return *this;
}
-WebSecurityOrigin::operator WTF::PassRefPtr<blink::SecurityOrigin>() const
+WebSecurityOrigin::operator WTF::PassRefPtr<SecurityOrigin>() const
{
return PassRefPtr<SecurityOrigin>(const_cast<WebSecurityOriginPrivate*>(m_private));
}
« no previous file with comments | « Source/web/WebScrollbarThemePainter.cpp ('k') | Source/web/WebSecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698