From 880a9e50e0bb550dc562e238a2f910c39db4d361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Desr=C3=A9?= Date: Tue, 11 Dec 2012 13:45:37 -0800 Subject: [PATCH] Bug 820160 - b2g desktop builds sometimes show black screen [r=gwagner] --- dom/apps/src/Webapps.jsm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/apps/src/Webapps.jsm b/dom/apps/src/Webapps.jsm index 3cd08fe02e9..c35db8ec810 100644 --- a/dom/apps/src/Webapps.jsm +++ b/dom/apps/src/Webapps.jsm @@ -206,6 +206,7 @@ this.DOMApplicationRegistry = { // Installs a 3rd party packaged app. installPreinstalledPackage: function installPreinstalledPackage(aId) { +#ifdef MOZ_WIDGET_GONK let app = this.webapps[aId]; let baseDir; try { @@ -267,6 +268,7 @@ this.DOMApplicationRegistry = { } finally { zipReader.close(); } +#endif }, // Implements the core of bug 787439