Bug 1041149 - Remove unused variable in generateScreenshotFor in canvas.js, r=past

This commit is contained in:
Victor Porof 2014-07-22 12:43:22 -04:00
parent 7247cbf22f
commit 70554408dc

View File

@ -156,8 +156,6 @@ let FrameSnapshotActor = protocol.ActorClass({
last: index
});
// To keep things fast, generate an image that's relatively small.
let dimensions = Math.min(CanvasFront.SCREENSHOT_HEIGHT_MAX, canvas.height);
let screenshot;
// Depending on the canvas' context, generating a screenshot is done