Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / v8 / custom / V8ArrayBufferCustom.h
index a6d9821..0370211 100644 (file)
@@ -52,20 +52,20 @@ protected:
 class V8ArrayBuffer {
 public:
     static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
-    static ArrayBuffer* toNative(v8::Handle<v8::Object>);
-    static ArrayBuffer* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
+    static ArrayBuffer* toImpl(v8::Handle<v8::Object>);
+    static ArrayBuffer* toImplWithTypeCheck(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;
-    static void installPerContextEnabledProperties(v8::Handle<v8::Object>, ArrayBuffer*, v8::Isolate*) { }
-    static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
 
-    static inline ScriptWrappableBase* toInternalPointer(ArrayBuffer* impl)
+    static inline ScriptWrappableBase* toScriptWrappableBase(ArrayBuffer* impl)
     {
         return reinterpret_cast<ScriptWrappableBase*>(impl);
     }
 
-    static inline ArrayBuffer* fromInternalPointer(ScriptWrappableBase* internalPointer)
+    static inline ArrayBuffer* toImpl(ScriptWrappableBase* internalPointer)
     {
         return reinterpret_cast<ArrayBuffer*>(internalPointer);
     }