Remove WrappableBase::GetWrapper() DCHECK

This commit is contained in:
Zhuo Lu 2017-12-13 13:26:51 -08:00
parent 88fa343387
commit e0b77db46f

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