mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1122356 - Remove use of expression closures from WindowsPreviewPerTab.jsm. r=dao
This commit is contained in:
parent
b1d86ba0c2
commit
ab30fb689f
@ -203,7 +203,9 @@ PreviewController.prototype = {
|
||||
// Resizes the canvasPreview to 0x0, essentially freeing its memory.
|
||||
// updateCanvasPreview() will detect the size mismatch as a resize event
|
||||
// the next time it is called.
|
||||
resetCanvasPreview: function () this.resizeCanvasPreview(0, 0),
|
||||
resetCanvasPreview: function () {
|
||||
this.resizeCanvasPreview(0, 0);
|
||||
},
|
||||
|
||||
resizeCanvasPreview: function (width, height) {
|
||||
this.canvasPreview.width = width;
|
||||
|
Loading…
Reference in New Issue
Block a user