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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/ToV8ForModules.h

Issue 1535943005: Initial implementation of bindings and basic classes for worklets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address (most) comments. Created 4 years, 11 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
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*);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698