Merge pull request #17 from sethlu/remove-getwrapper-dcheck
Remove WrappableBase::GetWrapper() DCHECK
This commit is contained in:
commit
29b03fc242
1 changed files with 0 additions and 1 deletions
|
@ -24,7 +24,6 @@ WrappableBase::~WrappableBase() {
|
||||||
}
|
}
|
||||||
|
|
||||||
v8::Local<v8::Object> WrappableBase::GetWrapper() {
|
v8::Local<v8::Object> WrappableBase::GetWrapper() {
|
||||||
DCHECK(!wrapper_.IsEmpty());
|
|
||||||
if (!wrapper_.IsEmpty())
|
if (!wrapper_.IsEmpty())
|
||||||
return v8::Local<v8::Object>::New(isolate_, wrapper_);
|
return v8::Local<v8::Object>::New(isolate_, wrapper_);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue