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

Unified Diff: Source/bindings/v8/ScriptPromiseResolver.h

Issue 153083006: Move serviceworker/ module to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/modules/serviceworkers/InstallEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | Source/modules/serviceworkers/InstallEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698