Use super.method instead of prototype.method.call
This commit is contained in:
@@ -91,7 +91,7 @@ class WebGLImageReplay extends WebGLTextureReplay {
|
||||
|
||||
this.images_ = null;
|
||||
this.hitDetectionImages_ = null;
|
||||
WebGLTextureReplay.prototype.finish.call(this, context);
|
||||
super.finish(context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -338,7 +338,7 @@ class WebGLTextReplay extends WebGLTextureReplay {
|
||||
this.images_ = null;
|
||||
this.atlases_ = {};
|
||||
this.currAtlas_ = undefined;
|
||||
WebGLTextureReplay.prototype.finish.call(this, context);
|
||||
super.finish(context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user