Backed out changeset d45a33d0fc2e

This commit is contained in:
Dão Gottwald 2013-09-12 08:39:46 +02:00
parent 9af49fc965
commit ac1c6a8950

View File

@ -170,10 +170,6 @@ let gInitialPages = [
XPCOMUtils.defineLazyGetter(this, "Win7Features", function () {
#ifdef XP_WIN
// Bug 666808 - AeroPeek support for e10s
if (!gMultiProcessBrowser)
return null;
const WINTASKBAR_CONTRACTID = "@mozilla.org/windows-taskbar;1";
if (WINTASKBAR_CONTRACTID in Cc &&
Cc[WINTASKBAR_CONTRACTID].getService(Ci.nsIWinTaskbar).available) {
@ -1139,8 +1135,11 @@ var gBrowserInit = {
gBrowser.mPanelContainer.addEventListener("PreviewBrowserTheme", LightWeightThemeWebInstaller, false, true);
gBrowser.mPanelContainer.addEventListener("ResetBrowserThemePreview", LightWeightThemeWebInstaller, false, true);
if (Win7Features)
Win7Features.onOpenWindow();
// Bug 666808 - AeroPeek support for e10s
if (!gMultiProcessBrowser) {
if (Win7Features)
Win7Features.onOpenWindow();
}
// called when we go into full screen, even if initiated by a web page script
window.addEventListener("fullscreen", onFullScreen, true);