mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
From: Rob Arnold <robarnold@cs.cmu.edu>
Bug 561835 - Make tab contents' canvases opaque r=dao
This commit is contained in:
parent
6806f73a8a
commit
abbe0879ca
@ -161,8 +161,11 @@ function PreviewController(win, tab) {
|
||||
// Cannot perform the lookup during construction. See TabWindow.newTab
|
||||
XPCOMUtils.defineLazyGetter(this, "preview", function () this.win.previewFromTab(this.tab));
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "canvasPreview", function ()
|
||||
this.win.win.document.createElementNS("http://www.w3.org/1999/xhtml", "canvas"));
|
||||
XPCOMUtils.defineLazyGetter(this, "canvasPreview", function () {
|
||||
let canvas = this.win.win.document.createElementNS("http://www.w3.org/1999/xhtml", "canvas");
|
||||
canvas.mozOpaque = true;
|
||||
return canvas;
|
||||
});
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "dirtyRegion",
|
||||
function () {
|
||||
|
Loading…
Reference in New Issue
Block a user