Skip to content

Commit

Permalink
Enable default xul app info always
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed May 18, 2014
1 parent 62f1594 commit 2abb6a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
7 changes: 0 additions & 7 deletions embedding/embedlite/utils/EmbedLiteXulAppInfo.h
Expand Up @@ -23,13 +23,6 @@ class EmbedLiteXulAppInfo : public nsIXULAppInfo
NS_DECL_ISUPPORTS
NS_DECL_NSIXULRUNTIME
NS_DECL_NSIXULAPPINFO

static void SetEmbedAppDataInfo(const char* name,
const char* uaName,
const char* vendor,
const char* id,
const char* appBuildID,
const char* version);
};


Expand Down
5 changes: 2 additions & 3 deletions embedding/embedlite/utils/GeckoLoader.cpp
Expand Up @@ -196,9 +196,8 @@ GeckoLoader::InitEmbedding(const char* aProfilePath)
rv = NS_NewNativeLocalFile(greHomeCSTR, PR_FALSE,
getter_AddRefs(kDirectoryProvider.sGREDir));

if (getenv("USE_PRE_DEFINED_APP_INFO")) {
XRE_AddStaticComponent(&kLocalAppInfoModule);
}
// Initialize default xul application info component
XRE_AddStaticComponent(&kLocalAppInfoModule);

// init embedding
rv = XRE_InitEmbedding2(xuldir, appdir,
Expand Down

0 comments on commit 2abb6a2

Please sign in to comment.