Fix a lint error.
This commit is contained in:
Родитель
cd535236f6
Коммит
27100ac1f5
|
@ -439,7 +439,7 @@ RegisteredPointer.prototype.toWireTypeAutoUpcast = function(destructors, handle)
|
||||||
} else {
|
} else {
|
||||||
fromRawType = handle.pointeeType.rawType;
|
fromRawType = handle.pointeeType.rawType;
|
||||||
}
|
}
|
||||||
if (fromRawType == this.pointeeType.rawType) {
|
if (fromRawType === this.pointeeType.rawType) {
|
||||||
return this.isSmartPointer ? handle.smartPointer : handle.ptr;
|
return this.isSmartPointer ? handle.smartPointer : handle.ptr;
|
||||||
}
|
}
|
||||||
var ptr = ___staticPointerCast(handle.ptr, fromRawType, this.pointeeType.rawType);
|
var ptr = ___staticPointerCast(handle.ptr, fromRawType, this.pointeeType.rawType);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче