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

Unified Diff: Source/web/WebRange.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/WebPopupMenuImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRange.cpp
diff --git a/Source/web/WebRange.cpp b/Source/web/WebRange.cpp
index 89cc094035ba0fb0249dfe401ef1ba16683e147b..51457b03487f8b71d618c74452c15a182511c7cc 100644
--- a/Source/web/WebRange.cpp
+++ b/Source/web/WebRange.cpp
@@ -47,8 +47,6 @@
#include "web/WebLocalFrameImpl.h"
#include "wtf/PassRefPtr.h"
-using namespace blink;
-
namespace blink {
void WebRange::reset()
@@ -107,18 +105,18 @@ WebRange WebRange::expandedToParagraph() const
// static
WebRange WebRange::fromDocumentRange(WebLocalFrame* frame, int start, int length)
{
- blink::LocalFrame* webFrame = toWebLocalFrameImpl(frame)->frame();
+ LocalFrame* webFrame = toWebLocalFrameImpl(frame)->frame();
Element* selectionRoot = webFrame->selection().rootEditableElement();
ContainerNode* scope = selectionRoot ? selectionRoot : webFrame->document()->documentElement();
return PlainTextRange(start, start + length).createRange(*scope);
}
-WebRange::WebRange(const PassRefPtrWillBeRawPtr<blink::Range>& range)
+WebRange::WebRange(const PassRefPtrWillBeRawPtr<Range>& range)
: m_private(range)
{
}
-WebRange::operator PassRefPtrWillBeRawPtr<blink::Range>() const
+WebRange::operator PassRefPtrWillBeRawPtr<Range>() const
{
return m_private.get();
}
« no previous file with comments | « Source/web/WebPopupMenuImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698