Bug 726043 - Rev uuids for bug 294260 and add NS_ENSURE_ARG_POINTER. r=Mossop

--HG--
extra : rebase_source : 6dd8139b7efd86fe55668de56494d43e4726a1b6
This commit is contained in:
Matthew Noorenberghe 2012-02-10 12:07:19 -08:00
parent e7b9ec98ac
commit 7095f29b54
4 changed files with 7 additions and 5 deletions

View File

@ -822,8 +822,10 @@ nsAppStartup::GetStartupInfo(JSContext* aCx, JS::Value* aRetval)
NS_IMETHODIMP
nsAppStartup::GetAutomaticSafeModeNecessary(bool *_retval)
{
*_retval = mIsSafeModeNecessary;
return NS_OK;
NS_ENSURE_ARG_POINTER(_retval);
*_retval = mIsSafeModeNecessary;
return NS_OK;
}
NS_IMETHODIMP

View File

@ -41,7 +41,7 @@
interface nsICmdLineService;
[scriptable, uuid(dd3e7b3c-0974-4a38-b4d3-ce2213452432)]
[scriptable, uuid(50c4194b-61c6-4292-963f-6e1a8e11c9d3)]
interface nsIAppStartup : nsISupports
{
/**

View File

@ -45,7 +45,7 @@ interface nsIProfileUnlocker;
* Hold on to a profile lock. Once you release the last reference to this
* interface, the profile lock is released.
*/
[scriptable, uuid(50e07b0a-f338-4da3-bcdb-f4bb0db94dbe)]
[scriptable, uuid(7c58c703-d245-4864-8d75-9648ca4a6139)]
interface nsIProfileLock : nsISupports
{
/**

View File

@ -44,7 +44,7 @@
* stable/frozen, please contact Benjamin Smedberg.
*/
[scriptable, uuid(7685dac8-3637-4660-a544-928c5ec0e714)]
[scriptable, uuid(cb0b8eda-4c83-4d0e-a63c-d3b65714bc85)]
interface nsIXULRuntime : nsISupports
{
/**