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

Unified Diff: Source/web/WebRange.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/WebPopupMenuImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.h » ('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 38696dab6759e4be7e6007976b2d38bede6dc226..2db94424ca65a6740325da2ab84068f7f498003c 100644
--- a/Source/web/WebRange.cpp
+++ b/Source/web/WebRange.cpp
@@ -48,7 +48,7 @@
#include "web/WebLocalFrameImpl.h"
#include "wtf/PassRefPtr.h"
-using namespace WebCore;
+using namespace blink;
namespace blink {
@@ -108,7 +108,7 @@ WebRange WebRange::expandedToParagraph() const
// static
WebRange WebRange::fromDocumentRange(WebLocalFrame* frame, int start, int length)
{
- WebCore::LocalFrame* webFrame = toWebLocalFrameImpl(frame)->frame();
+ blink::LocalFrame* webFrame = toWebLocalFrameImpl(frame)->frame();
Element* selectionRoot = webFrame->selection().rootEditableElement();
ContainerNode* scope = selectionRoot ? selectionRoot : webFrame->document()->documentElement();
return PlainTextRange(start, start + length).createRange(*scope);
@@ -135,12 +135,12 @@ WebVector<WebFloatQuad> WebRange::textQuads() const
return quads;
}
-WebRange::WebRange(const PassRefPtrWillBeRawPtr<WebCore::Range>& range)
+WebRange::WebRange(const PassRefPtrWillBeRawPtr<blink::Range>& range)
: m_private(range)
{
}
-WebRange::operator PassRefPtrWillBeRawPtr<WebCore::Range>() const
+WebRange::operator PassRefPtrWillBeRawPtr<blink::Range>() const
{
return m_private.get();
}
« no previous file with comments | « Source/web/WebPopupMenuImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698