Bug 1055507 - Avoid calling drawWindow in e10s mode when using tab previews until bug 698371 gets fixed; r=dao

This commit is contained in:
Ehsan Akhgari 2014-08-20 22:24:27 -04:00
parent 50beeaff21
commit 3caf5e69ef

View File

@ -58,6 +58,10 @@ var tabPreviews = {
thumbnail.height = this.height;
thumbnail.width = this.width;
// drawWindow doesn't yet work with e10s (bug 698371)
if (gMultiProcessBrowser)
return thumbnail;
var ctx = thumbnail.getContext("2d");
var win = aTab.linkedBrowser.contentWindow;
var snippetWidth = win.innerWidth * .6;