зеркало из https://github.com/mozilla/gecko-dev.git
fixed nsString2 usage error
This commit is contained in:
Родитель
cd06fa2a95
Коммит
800494a1f2
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче