mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 13:52:37 +00:00
Changing convertChromeURL.
This commit is contained in:
parent
3ef6dbd214
commit
1c74a48ba0
@ -642,11 +642,8 @@ nsStringBundleService::getStringBundle(const char *aURLSpec,
|
||||
do_GetService(kChromeRegistryCID, &ret);
|
||||
if (NS_SUCCEEDED(ret)) {
|
||||
|
||||
ret = chromeRegistry->ConvertChromeURL(mScratchUri);
|
||||
ret = chromeRegistry->ConvertChromeURL(mScratchUri, getter_Copies(newSpec));
|
||||
if (NS_SUCCEEDED(ret)) {
|
||||
|
||||
// get resolved spec
|
||||
ret = mScratchUri->GetSpec(getter_Copies(newSpec));
|
||||
if (NS_SUCCEEDED(ret)) urlSpec = newSpec;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user