Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h |
| diff --git a/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h b/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h |
| index add72570410223f61978db96396d7487db789567..a30909f08d6ddbb8c2c060066e4efc856212bd3c 100644 |
| --- a/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h |
| +++ b/third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h |
| @@ -14,6 +14,7 @@ namespace blink { |
| class IDBAny; |
| class IDBKey; |
| class IDBKeyPath; |
| +class WorkletGlobalScope; |
| inline v8::Local<v8::Value> toV8(const SQLValue& sqlValue, v8::Local<v8::Object> creationContext, v8::Isolate* isolate) |
| { |
| @@ -32,6 +33,7 @@ inline v8::Local<v8::Value> toV8(const SQLValue& sqlValue, v8::Local<v8::Object> |
| v8::Local<v8::Value> toV8(const IDBKeyPath&, v8::Local<v8::Object> creationContext, v8::Isolate*); |
| MODULES_EXPORT v8::Local<v8::Value> toV8(const IDBKey*, v8::Local<v8::Object> creationContext, v8::Isolate*); |
| v8::Local<v8::Value> toV8(const IDBAny*, v8::Local<v8::Object> creationContext, v8::Isolate*); |
| +v8::Local<v8::Value> toV8(WorkletGlobalScope*, v8::Local<v8::Object> creationContext, v8::Isolate*); |
|
haraken
2016/01/05 06:08:06
Can we remove this method by changing toV8(WorkerG
ikilpatrick
2016/01/07 22:47:35
Currently WorkerGlobalScope and WorkletGlobalScope
haraken
2016/01/08 04:59:07
Yeah, I think it's better to introduce WorkerOrWor
ikilpatrick
2016/01/11 04:13:19
Done.
|
| } // namespace blink |