mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
per bugzilla 106523, set PR_TRUE in observerService->AddObserver() for initializing profiles
This commit is contained in:
parent
671178cbdb
commit
978779a1e2
@ -493,9 +493,9 @@ BOOL CTestEmbedApp::InitializeProfiles()
|
||||
nsCOMPtr<nsIObserverService>observerService(do_GetService("@mozilla.org/observer-service;1",&rv));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
observerService->AddObserver(this, "profile-approve-change", PR_FALSE);
|
||||
observerService->AddObserver(this, "profile-change-teardown", PR_FALSE);
|
||||
observerService->AddObserver(this, "profile-after-change", PR_FALSE);
|
||||
observerService->AddObserver(this, "profile-approve-change", PR_TRUE);
|
||||
observerService->AddObserver(this, "profile-change-teardown", PR_TRUE);
|
||||
observerService->AddObserver(this, "profile-after-change", PR_TRUE);
|
||||
}
|
||||
|
||||
m_ProfileMgr->StartUp();
|
||||
|
Loading…
x
Reference in New Issue
Block a user