Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e089b41818f12d2109f4fde96647806d16045d12..8da01a8f6b7f1d9c7f19133ecac0c4d635eb136b 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2497,7 +2497,7 @@ class PropertyCallbackInfo { |
public: |
V8_INLINE Isolate* GetIsolate() const; |
V8_INLINE Local<Value> Data() const; |
- V8_INLINE Local<Value> This() const; |
+ V8_INLINE Local<Object> This() const; |
V8_INLINE Local<Object> Holder() const; |
V8_INLINE ReturnValue<T> GetReturnValue() const; |
// This shouldn't be public, but the arm compiler needs it. |
@@ -6483,8 +6483,8 @@ Local<Value> PropertyCallbackInfo<T>::Data() const { |
template<typename T> |
-Local<Value> PropertyCallbackInfo<T>::This() const { |
- return Local<Value>(reinterpret_cast<Value*>(&args_[kThisIndex])); |
+Local<Object> PropertyCallbackInfo<T>::This() const { |
+ return Local<Object>(reinterpret_cast<Object*>(&args_[kThisIndex])); |
} |