Merge pull request #17 from sethlu/remove-getwrapper-dcheck

Remove WrappableBase::GetWrapper() DCHECK
This commit is contained in:
Cheng Zhao
2017-12-18 09:22:13 +09:00
committed by GitHub

View File

@@ -24,7 +24,6 @@ WrappableBase::~WrappableBase() {
}
v8::Local<v8::Object> WrappableBase::GetWrapper() {
DCHECK(!wrapper_.IsEmpty());
if (!wrapper_.IsEmpty())
return v8::Local<v8::Object>::New(isolate_, wrapper_);
else