Bug 825150 - Remove const_casts by adding some const-ness to nsICommandLineRunner.init(). r=karlt, sr=bsmedberg.
This commit is contained in:
@@ -442,7 +442,7 @@ nsCommandLine::resolveShortcutURL(nsIFile* aFile, nsACString& outURL)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsCommandLine::Init(int32_t argc, char** argv, nsIFile* aWorkingDir,
|
||||
nsCommandLine::Init(int32_t argc, const char* const* argv, nsIFile* aWorkingDir,
|
||||
uint32_t aState)
|
||||
{
|
||||
NS_ENSURE_ARG_MIN(aState, 0);
|
||||
|
||||
Reference in New Issue
Block a user