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

Unified Diff: Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp

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
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 7a0ea24d7d913575ddaf393926dee224d41bfed2..ace43933b5bc83666ebdc744632f1e395d0b2e6b 100644
--- a/Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp
@@ -50,7 +50,7 @@ const WrapperTypeInfo V8ArrayBuffer::wrapperTypeInfo = {
0,
V8ArrayBuffer::refObject,
V8ArrayBuffer::derefObject,
- V8ArrayBuffer::createPersistentHandle,
+ V8ArrayBuffer::trace,
0, 0, 0, 0, 0, 0,
WrapperTypeInfo::WrapperTypeObjectPrototype,
WrapperTypeInfo::ObjectClassId,
@@ -73,12 +73,6 @@ void V8ArrayBuffer::derefObject(ScriptWrappableBase* internalPointer)
toImpl(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 | « Source/bindings/core/v8/custom/V8ArrayBufferCustom.h ('k') | Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698