Make sure each C++ WebContents has only one JS WebContents
This commit is contained in:
parent
552a12d2ee
commit
1023b67d59
4 changed files with 21 additions and 2 deletions
|
@ -142,6 +142,7 @@ class WebContents : public mate::TrackableObject,
|
|||
~WebContents();
|
||||
|
||||
// mate::Wrappable:
|
||||
void AfterInit(v8::Isolate* isolate);
|
||||
mate::ObjectTemplateBuilder GetObjectTemplateBuilder(
|
||||
v8::Isolate* isolate) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue