Make InitWith virtual
This commit is contained in:
parent
bd20bde1a2
commit
ab62755a88
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class WrappableBase {
|
||||||
|
|
||||||
// Bind the C++ class to the JS wrapper.
|
// Bind the C++ class to the JS wrapper.
|
||||||
// This method should only be called by classes using Constructor.
|
// This method should only be called by classes using Constructor.
|
||||||
void InitWith(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);
|
virtual void InitWith(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend struct internal::Destroyable;
|
friend struct internal::Destroyable;
|
||||||
|
|
Loading…
Reference in a new issue