Chromium Code Reviews| Index: Source/bindings/v8/ScriptPromiseResolver.h |
| diff --git a/Source/bindings/v8/ScriptPromiseResolver.h b/Source/bindings/v8/ScriptPromiseResolver.h |
| index ad56f4ac88ebd7b3ad980c6a180d466131cbd0de..e651b9d24852003b18f9597705e7eab82578dc11 100644 |
| --- a/Source/bindings/v8/ScriptPromiseResolver.h |
| +++ b/Source/bindings/v8/ScriptPromiseResolver.h |
| @@ -96,7 +96,11 @@ public: |
| template<typename T> |
| void resolve(PassRefPtr<T> value, v8::Handle<v8::Object> creationContext) { resolve(value.get(), creationContext); } |
| template<typename T> |
| + void resolve(RawPtr<T> value, v8::Handle<v8::Object> creationContext) { resolve(value.get(), creationContext); } |
|
Mads Ager (chromium)
2014/02/07 06:50:46
Can we fold these together into:
void resolve(Pas
|
| + template<typename T> |
| void reject(PassRefPtr<T> value, v8::Handle<v8::Object> creationContext) { reject(value.get(), creationContext); } |
| + template<typename T> |
| + void reject(RawPtr<T> value, v8::Handle<v8::Object> creationContext) { reject(value.get(), creationContext); } |
| template<typename T> |
| inline void resolve(T* value, ExecutionContext*); |
| @@ -106,7 +110,11 @@ public: |
| template<typename T> |
| void resolve(PassRefPtr<T> value, ExecutionContext* context) { resolve(value.get(), context); } |
| template<typename T> |
| + void resolve(RawPtr<T> value, ExecutionContext* context) { resolve(value.get(), context); } |
| + template<typename T> |
| void reject(PassRefPtr<T> value, ExecutionContext* context) { reject(value.get(), context); } |
| + template<typename T> |
| + void reject(RawPtr<T> value, ExecutionContext* context) { reject(value.get(), context); } |
| template<typename T> |
| inline void resolve(T* value); |
| @@ -116,7 +124,11 @@ public: |
| template<typename T> |
| void resolve(PassRefPtr<T> value) { resolve(value.get()); } |
| template<typename T> |
| + void resolve(RawPtr<T> value) { resolve(value.get()); } |
| + template<typename T> |
| void reject(PassRefPtr<T> value) { reject(value.get()); } |
| + template<typename T> |
| + void reject(RawPtr<T> value) { reject(value.get()); } |
| void resolve(ScriptValue); |
| void reject(ScriptValue); |