Bug 763111 - Use gBrowser.docShell for brevity in bug 748477. r=dao

This commit is contained in:
Saurabh Anand 2012-06-09 05:52:24 +05:30
parent f8b31e4c4e
commit ac4a2071ec

View File

@ -7170,9 +7170,8 @@ let gPrivateBrowsingUI = {
* and the setter should only be used in tests.
*/
get privateWindow() {
return gBrowser.selectedTab.linkedBrowser
.docShell.QueryInterface(Ci.nsILoadContext)
.usePrivateBrowsing;
return gBrowser.docShell.QueryInterface(Ci.nsILoadContext)
.usePrivateBrowsing;
}
};