зеркало из https://github.com/mozilla/pjs.git
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
This commit is contained in:
Родитель
42c3677574
Коммит
372e6d8954
|
@ -1581,7 +1581,7 @@ nsNativeAppSupportOS2::HandleRequest( LPBYTE request, PRBool newWindow ) {
|
|||
nsCString taskURL;
|
||||
rv = GetStartupURL(args, taskURL);
|
||||
if (NS_SUCCEEDED(rv) && NS_SUCCEEDED(nativeApp->EnsureProfile(args))) {
|
||||
(void)OpenWindow(taskURL, "");
|
||||
(void)OpenWindow(taskURL.get(), "");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1632,7 +1632,7 @@ nsNativeAppSupportOS2::HandleRequest( LPBYTE request, PRBool newWindow ) {
|
|||
if (defaultArgs) {
|
||||
nsCAutoString url;
|
||||
url.AssignWithConversion( defaultArgs );
|
||||
OpenBrowserWindow((const char*)url);
|
||||
OpenBrowserWindow(url.get());
|
||||
} else {
|
||||
OpenBrowserWindow("about:blank");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче