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

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

Issue 525353002: [oilpan]: optimize the way we allocate persistent handles in wrappers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/V8TypedArrayCustom.h
diff --git a/Source/bindings/core/v8/custom/V8TypedArrayCustom.h b/Source/bindings/core/v8/custom/V8TypedArrayCustom.h
index 5aca079e7cf2111a8ca8e3914cb07c07c1d4d7d8..5d134c7db550c760f5fa499f65e41f5160cffcf9 100644
--- a/Source/bindings/core/v8/custom/V8TypedArrayCustom.h
+++ b/Source/bindings/core/v8/custom/V8TypedArrayCustom.h
@@ -56,7 +56,7 @@ public:
static TypedArray* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static void refObject(ScriptWrappableBase* internalPointer);
static void derefObject(ScriptWrappableBase* internalPointer);
- static PersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer);
+ static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer);
static const WrapperTypeInfo wrapperTypeInfo;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount;
@@ -205,7 +205,7 @@ void V8TypedArray<TypedArray>::derefObject(ScriptWrappableBase* internalPointer)
}
template <typename TypedArray>
-PersistentNode* V8TypedArray<TypedArray>::createPersistentHandle(ScriptWrappableBase* internalPointer)
+WrapperPersistentNode* V8TypedArray<TypedArray>::createPersistentHandle(ScriptWrappableBase* internalPointer)
{
ASSERT_NOT_REACHED();
return 0;

Powered by Google App Engine
This is Rietveld 408576698