Bug 748802 - browser-thumbnails.js uses global private browsing state instead of per-window state. r=ehsan

This commit is contained in:
Raymond Lee 2012-05-02 09:35:12 +08:00
parent 84dddb8bc4
commit 0b38d95d53

View File

@ -122,8 +122,8 @@ let gBrowserThumbnails = {
if (aBrowser != gBrowser.selectedBrowser)
return false;
// Don't capture in private browsing mode.
if (gPrivateBrowsingUI.privateBrowsingEnabled)
// Don't capture in per-window private browsing mode.
if (gPrivateBrowsingUI.privateWindow)
return false;
let doc = aBrowser.contentDocument;