mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: set prototype names on gin::Constructible classes (#39006)
* fix: set prototype names on gin::Constructible classes * test: add tests
This commit is contained in:
@@ -95,6 +95,7 @@ class Session : public gin::Wrappable<Session>,
|
||||
// gin::Wrappable
|
||||
static gin::WrapperInfo kWrapperInfo;
|
||||
static void FillObjectTemplate(v8::Isolate*, v8::Local<v8::ObjectTemplate>);
|
||||
static const char* GetClassName() { return "Session"; }
|
||||
const char* GetTypeName() override;
|
||||
|
||||
// Methods.
|
||||
|
||||
Reference in New Issue
Block a user