зеркало из https://github.com/mozilla/pjs.git
Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg
This commit is contained in:
Родитель
e3d9d1d0a0
Коммит
8a0cc36e9f
|
@ -160,6 +160,7 @@ public:
|
|||
NS_ASSERTION(!NS_IsMainThread(),
|
||||
"AsyncLocalFileWinOperation should not be run on the main thread!");
|
||||
|
||||
CoInitialize(NULL);
|
||||
switch(mOperation) {
|
||||
case RevealOp: {
|
||||
Reveal();
|
||||
|
@ -170,6 +171,7 @@ public:
|
|||
}
|
||||
break;
|
||||
}
|
||||
CoUninitialize();
|
||||
|
||||
// Send the result back to the main thread so that it can shutdown
|
||||
nsCOMPtr<nsIRunnable> resultrunnable = new AsyncLocalFileWinDone();
|
||||
|
|
Загрузка…
Ссылка в новой задаче