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

Unified Diff: Source/web/WebDragData.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/WebDocumentType.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDragData.cpp
diff --git a/Source/web/WebDragData.cpp b/Source/web/WebDragData.cpp
index 899d0a51dcc913b2aaa676070e7e3ddae0db016a..733f383095463becf2bbed4d14a604c81e50dc92 100644
--- a/Source/web/WebDragData.cpp
+++ b/Source/web/WebDragData.cpp
@@ -43,7 +43,7 @@
#include "wtf/HashMap.h"
#include "wtf/PassRefPtr.h"
-using namespace WebCore;
+using namespace blink;
namespace blink {
@@ -62,12 +62,12 @@ void WebDragData::assign(const WebDragData& other)
m_private = other.m_private;
}
-WebDragData::WebDragData(const PassRefPtrWillBeRawPtr<WebCore::DataObject>& object)
+WebDragData::WebDragData(const PassRefPtrWillBeRawPtr<blink::DataObject>& object)
{
m_private = object;
}
-WebDragData& WebDragData::operator=(const PassRefPtrWillBeRawPtr<WebCore::DataObject>& object)
+WebDragData& WebDragData::operator=(const PassRefPtrWillBeRawPtr<blink::DataObject>& object)
{
m_private = object;
return *this;
@@ -98,7 +98,7 @@ WebVector<WebDragData::Item> WebDragData::items() const
item.storageType = Item::StorageTypeBinaryData;
item.binaryData = originalItem->sharedBuffer();
} else if (originalItem->isFilename()) {
- RefPtrWillBeRawPtr<WebCore::Blob> blob = originalItem->getAsFile();
+ RefPtrWillBeRawPtr<blink::Blob> blob = originalItem->getAsFile();
if (blob->isFile()) {
File* file = toFile(blob.get());
if (!file->path().isEmpty()) {
« no previous file with comments | « Source/web/WebDocumentType.cpp ('k') | Source/web/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698