зеркало из https://github.com/mozilla/gecko-dev.git
Bug 304899 comment about QI to the obsolete manager is stale
patch by timwatt@gmail.com r=dougt
This commit is contained in:
Родитель
19dc7352a7
Коммит
e29622310f
|
@ -579,8 +579,6 @@ nsresult NS_COM NS_InitXPCOM3(nsIServiceManager* *result,
|
|||
if ( NS_FAILED(rv) ) return rv;
|
||||
}
|
||||
|
||||
// what I want to do here is QI for a Component Registration Manager. Since this
|
||||
// has not been invented yet, QI to the obsolete manager. Kids, don't do this at home.
|
||||
nsCOMPtr<nsIComponentRegistrar> registrar = do_QueryInterface(
|
||||
NS_STATIC_CAST(nsIComponentManager*,compMgr), &rv);
|
||||
if (registrar) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче