зеркало из https://github.com/mozilla/pjs.git
fixed nsString2 usage error
This commit is contained in:
Родитель
0d5fd43f0b
Коммит
d9ae32d256
|
@ -335,7 +335,7 @@ NS_IMETHODIMP nsMetaCharsetObserver::Start()
|
|||
if(NS_FAILED(res))
|
||||
goto done;
|
||||
|
||||
res = anObserverService->AddObserver(mHack, htmlTopic);
|
||||
res = anObserverService->AddObserver(mHack, htmlTopic.GetUnicode());
|
||||
|
||||
nsServiceManager::ReleaseService(NS_OBSERVERSERVICE_PROGID,
|
||||
anObserverService);
|
||||
|
@ -355,7 +355,7 @@ NS_IMETHODIMP nsMetaCharsetObserver::End()
|
|||
if(NS_FAILED(res))
|
||||
goto done;
|
||||
|
||||
res = anObserverService->RemoveObserver(mHack, htmlTopic);
|
||||
res = anObserverService->RemoveObserver(mHack, htmlTopic.GetUnicode());
|
||||
|
||||
nsServiceManager::ReleaseService(NS_OBSERVERSERVICE_PROGID,
|
||||
anObserverService);
|
||||
|
|
Загрузка…
Ссылка в новой задаче