X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fbindings%2Ftests%2Fresults%2FV8TestInterfaceCustomConstructor.h;h=14329023b5b75342863ea574b5d068199b7897ec;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=0fa3768fdbf4e8b0e46e0f39e10cbbf568db5c09;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.h b/src/third_party/WebKit/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.h index 0fa3768..1432902 100644 --- a/src/third_party/WebKit/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.h +++ b/src/third_party/WebKit/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.h @@ -37,6 +37,7 @@ #include "bindings/v8/V8Binding.h" #include "bindings/v8/V8DOMWrapper.h" #include "bindings/v8/WrapperTypeInfo.h" +#include "heap/Handle.h" namespace WebCore { @@ -48,8 +49,8 @@ public: { return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)); } - static void derefObject(void*); static const WrapperTypeInfo wrapperTypeInfo; + static void derefObject(void*); static void constructorCallback(const v8::FunctionCallbackInfo&); static void constructorCustom(const v8::FunctionCallbackInfo&); static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; @@ -133,25 +134,25 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface v8SetReturnValue(callbackInfo, wrapper); } -inline v8::Handle toV8(PassRefPtr impl, v8::Handle creationContext, v8::Isolate* isolate) +inline v8::Handle toV8(PassRefPtr impl, v8::Handle creationContext, v8::Isolate* isolate) { return toV8(impl.get(), creationContext, isolate); } template -inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr impl) +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr impl) { v8SetReturnValue(callbackInfo, impl.get()); } template -inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr impl) +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr impl) { v8SetReturnValueForMainWorld(callbackInfo, impl.get()); } template -inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr impl, Wrappable* wrappable) +inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr impl, Wrappable* wrappable) { v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); }