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

Unified Diff: sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.cpp

Issue 683593002: Remove GarbageCollected support from the bindings (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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: sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
diff --git a/sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.cpp b/sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
index 0503ece481b54bdf40d64227e8ba74e534e33eda..0c9c229e2086924b8747f552688b3e1defc88da8 100644
--- a/sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
+++ b/sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
@@ -50,12 +50,10 @@ const WrapperTypeInfo V8ArrayBuffer::wrapperTypeInfo = {
0,
V8ArrayBuffer::refObject,
V8ArrayBuffer::derefObject,
- V8ArrayBuffer::createPersistentHandle,
0, 0, 0, 0, 0, 0,
WrapperTypeInfo::WrapperTypeObjectPrototype,
WrapperTypeInfo::ObjectClassId,
WrapperTypeInfo::Independent,
- WrapperTypeInfo::RefCountedObject
};
bool V8ArrayBuffer::hasInstance(v8::Handle<v8::Value> value, v8::Isolate*)
@@ -73,12 +71,6 @@ void V8ArrayBuffer::derefObject(ScriptWrappableBase* internalPointer)
fromInternalPointer(internalPointer)->deref();
}
-WrapperPersistentNode* V8ArrayBuffer::createPersistentHandle(ScriptWrappableBase* internalPointer)
-{
- ASSERT_NOT_REACHED();
- return 0;
-}
-
v8::Handle<v8::Object> V8ArrayBuffer::createWrapper(PassRefPtr<ArrayBuffer> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
ASSERT(impl.get());
« no previous file with comments | « sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.h ('k') | sky/engine/bindings/core/v8/custom/V8TypedArrayCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698