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

Unified Diff: sky/engine/bindings/core/v8/custom/V8TypedArrayCustom.h

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/V8TypedArrayCustom.h
diff --git a/sky/engine/bindings/core/v8/custom/V8TypedArrayCustom.h b/sky/engine/bindings/core/v8/custom/V8TypedArrayCustom.h
index f024d6e8541bfc49207efb50b2fd4aa81e9f4592..558efe8378e546b8b30aeab3315eeec04a328c86 100644
--- a/sky/engine/bindings/core/v8/custom/V8TypedArrayCustom.h
+++ b/sky/engine/bindings/core/v8/custom/V8TypedArrayCustom.h
@@ -56,7 +56,6 @@ public:
static TypedArray* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static void refObject(ScriptWrappableBase* internalPointer);
static void derefObject(ScriptWrappableBase* internalPointer);
- static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer);
static const WrapperTypeInfo wrapperTypeInfo;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount;
@@ -189,12 +188,10 @@ const WrapperTypeInfo V8TypedArray<TypedArray>::wrapperTypeInfo = {
0,
V8TypedArray<TypedArray>::refObject,
V8TypedArray<TypedArray>::derefObject,
- V8TypedArray<TypedArray>::createPersistentHandle,
0, 0, 0, 0, 0, 0,
WrapperTypeInfo::WrapperTypeObjectPrototype,
WrapperTypeInfo::ObjectClassId,
WrapperTypeInfo::Independent,
- WrapperTypeInfo::RefCountedObject
};
template <typename TypedArray>
@@ -209,13 +206,6 @@ void V8TypedArray<TypedArray>::derefObject(ScriptWrappableBase* internalPointer)
fromInternalPointer(internalPointer)->deref();
}
-template <typename TypedArray>
-WrapperPersistentNode* V8TypedArray<TypedArray>::createPersistentHandle(ScriptWrappableBase* internalPointer)
-{
- ASSERT_NOT_REACHED();
- return 0;
-}
-
} // namespace blink
#endif // V8TypedArrayCustom_h
« no previous file with comments | « sky/engine/bindings/core/v8/custom/V8ArrayBufferCustom.cpp ('k') | sky/engine/bindings/scripts/code_generator_v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698