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

Unified Diff: Source/bindings/core/v8/custom/V8TypedArrayCustom.h

Issue 651713002: Oilpan: DOM wrappers don't need to keep persistent handles (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp ('k') | Source/bindings/templates/interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/custom/V8TypedArrayCustom.h
diff --git a/Source/bindings/core/v8/custom/V8TypedArrayCustom.h b/Source/bindings/core/v8/custom/V8TypedArrayCustom.h
index c38087a9353087e3141c071dc1d3699d7a79372a..ad49ba939a83af99de2ff36c5fb1f71b7d09bd76 100644
--- a/Source/bindings/core/v8/custom/V8TypedArrayCustom.h
+++ b/Source/bindings/core/v8/custom/V8TypedArrayCustom.h
@@ -56,7 +56,7 @@ public:
static TypedArray* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static void refObject(ScriptWrappableBase* internalPointer);
static void derefObject(ScriptWrappableBase* internalPointer);
- static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer);
+ static void trace(Visitor*, ScriptWrappableBase* internalPointer);
static const WrapperTypeInfo wrapperTypeInfo;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount;
@@ -189,7 +189,7 @@ const WrapperTypeInfo V8TypedArray<TypedArray>::wrapperTypeInfo = {
0,
V8TypedArray<TypedArray>::refObject,
V8TypedArray<TypedArray>::derefObject,
- V8TypedArray<TypedArray>::createPersistentHandle,
+ V8TypedArray<TypedArray>::trace,
0, 0, 0, 0, 0, 0,
WrapperTypeInfo::WrapperTypeObjectPrototype,
WrapperTypeInfo::ObjectClassId,
@@ -210,10 +210,8 @@ void V8TypedArray<TypedArray>::derefObject(ScriptWrappableBase* internalPointer)
}
template <typename TypedArray>
-WrapperPersistentNode* V8TypedArray<TypedArray>::createPersistentHandle(ScriptWrappableBase* internalPointer)
+void V8TypedArray<TypedArray>::trace(Visitor*, ScriptWrappableBase*)
{
- ASSERT_NOT_REACHED();
- return 0;
}
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp ('k') | Source/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698