зеркало из https://github.com/mozilla/pjs.git
Fixing build bustage
This commit is contained in:
Родитель
ab1d4c6073
Коммит
422f965084
|
@ -50,8 +50,6 @@ const static char* start_url = "chrome://minimo/content/minimo.xul";
|
|||
//const static char* start_url = "http://www.meer.net/~dougt/test.html";
|
||||
//const static char* start_url = "resource://gre/res/start.html";
|
||||
|
||||
PRBool gDumpJSConsole = PR_FALSE;
|
||||
|
||||
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||
static NS_DEFINE_CID(kAppShellCID, NS_APPSHELL_CID);
|
||||
|
||||
|
@ -654,7 +652,16 @@ int main(int argc, char *argv[])
|
|||
delete appObserver;
|
||||
delete creatorCallback;
|
||||
|
||||
if (gDumpJSConsole)
|
||||
nsCOMPtr<nsIPrefBranch> prefBranch = do_GetService(NS_PREFSERVICE_CONTRACTID);
|
||||
if (!prefBranch)
|
||||
return -1;
|
||||
|
||||
PRBool dumpJSConsole = PR_FALSE;
|
||||
|
||||
prefBranch->GetBoolPref("config.wince.dumpJSConsole", &dumpJSConsole);
|
||||
prefBranch = 0;
|
||||
|
||||
if (dumpJSConsole)
|
||||
WriteConsoleLog();
|
||||
|
||||
// Close down Embedding APIs
|
||||
|
|
Загрузка…
Ссылка в новой задаче