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

Unified Diff: Source/web/WebSecurityOrigin.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/WebSearchableFormData.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 51a3a1d458f8ad51a6f50e11b5535745dc9d887b..b05afc7a5cb046e3d027eec39733fb15aa99a40e 100644
--- a/Source/web/WebSecurityOrigin.cpp
+++ b/Source/web/WebSecurityOrigin.cpp
@@ -38,7 +38,7 @@
#include "public/platform/WebURL.h"
#include "wtf/PassRefPtr.h"
-using namespace WebCore;
+using namespace blink;
namespace blink {
@@ -128,18 +128,18 @@ bool WebSecurityOrigin::canAccessPasswordManager() const
return m_private->canAccessPasswordManager();
}
-WebSecurityOrigin::WebSecurityOrigin(const WTF::PassRefPtr<WebCore::SecurityOrigin>& origin)
+WebSecurityOrigin::WebSecurityOrigin(const WTF::PassRefPtr<blink::SecurityOrigin>& origin)
: m_private(static_cast<WebSecurityOriginPrivate*>(origin.leakRef()))
{
}
-WebSecurityOrigin& WebSecurityOrigin::operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>& origin)
+WebSecurityOrigin& WebSecurityOrigin::operator=(const WTF::PassRefPtr<blink::SecurityOrigin>& origin)
{
assign(static_cast<WebSecurityOriginPrivate*>(origin.leakRef()));
return *this;
}
-WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>() const
+WebSecurityOrigin::operator WTF::PassRefPtr<blink::SecurityOrigin>() const
{
return PassRefPtr<SecurityOrigin>(const_cast<WebSecurityOriginPrivate*>(m_private));
}
« no previous file with comments | « Source/web/WebSearchableFormData.cpp ('k') | Source/web/WebSecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698