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

Unified Diff: Source/bindings/core/v8/custom/V8ArrayBufferCustom.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
Index: Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp b/Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
index d3be3b5bed9f84e6e7e2aea501c1f3a7e81db2b3..a1b8b8eab79f5f4bc773bee9769bc2b651dab2b0 100644
--- a/Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
@@ -35,7 +35,7 @@
#include "wtf/ArrayBuffer.h"
#include "wtf/StdLibExtras.h"
-namespace WebCore {
+namespace blink {
using namespace WTF;
@@ -79,7 +79,7 @@ ArrayBuffer* V8ArrayBuffer::toNative(v8::Handle<v8::Object> object)
v8::Local<v8::ArrayBuffer> v8buffer = object.As<v8::ArrayBuffer>();
if (v8buffer->IsExternal()) {
RELEASE_ASSERT(toWrapperTypeInfo(object)->ginEmbedder == gin::kEmbedderBlink);
- return reinterpret_cast<ArrayBuffer*>(WebCore::toNative(object));
+ return reinterpret_cast<ArrayBuffer*>(blink::toNative(object));
}
v8::ArrayBuffer::Contents v8Contents = v8buffer->Externalize();
@@ -88,7 +88,7 @@ ArrayBuffer* V8ArrayBuffer::toNative(v8::Handle<v8::Object> object)
RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(contents);
V8DOMWrapper::associateObjectWithWrapper<V8ArrayBuffer>(buffer.release(), &wrapperTypeInfo, object, v8::Isolate::GetCurrent(), WrapperConfiguration::Dependent);
- return reinterpret_cast<ArrayBuffer*>(WebCore::toNative(object));
+ return reinterpret_cast<ArrayBuffer*>(blink::toNative(object));
}
ArrayBuffer* V8ArrayBuffer::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
@@ -102,4 +102,4 @@ v8::Handle<v8::Value> toV8NoInline(ArrayBuffer* impl, v8::Handle<v8::Object> cre
return toV8(impl, creationContext, isolate);
}
-} // namespace WebCore
+} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/custom/V8ArrayBufferCustom.h ('k') | Source/bindings/core/v8/custom/V8ArrayBufferViewCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698