android: compat webviewexecutor to support arraybuffer
This commit is contained in:
@@ -2314,12 +2314,10 @@ var Image = /** @class */ (function (_super) {
|
||||
};
|
||||
Image.prototype.toModel = function () {
|
||||
var ret = _super.prototype.toModel.call(this);
|
||||
if (Environment.platform === 'iOS') {
|
||||
if (Reflect.has(ret.props, "imagePixels")) {
|
||||
var imagePixels = Reflect.get(ret.props, "imagePixels");
|
||||
var pixels_1 = imagePixels.pixels;
|
||||
imagePixels.pixels = this.callback2Id(function () { return pixels_1; });
|
||||
}
|
||||
if (Reflect.has(ret.props, "imagePixels")) {
|
||||
var imagePixels = Reflect.get(ret.props, "imagePixels");
|
||||
var pixels_1 = imagePixels.pixels;
|
||||
imagePixels.pixels = this.callback2Id(function () { return pixels_1; });
|
||||
}
|
||||
return ret;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user