зеркало из https://github.com/mozilla/gecko-dev.git
Bug 557279 - Drag & drop into plug-ins is broken. r=jimm
This commit is contained in:
Родитель
2fdb1a2d73
Коммит
f85c3a9229
|
@ -59,8 +59,9 @@ bool
|
|||
PluginProcessChild::Init()
|
||||
{
|
||||
#ifdef XP_WIN
|
||||
// Silverlight depends on the host calling CoInitialize.
|
||||
::CoInitialize(NULL);
|
||||
// Drag-and-drop needs OleInitialize to be called, and Silverlight depends
|
||||
// on the host calling CoInitialize (which is called by OleInitialize).
|
||||
::OleInitialize(NULL);
|
||||
#endif
|
||||
|
||||
// Certain plugins, such as flash, steal the unhandled exception filter
|
||||
|
@ -100,7 +101,7 @@ void
|
|||
PluginProcessChild::CleanUp()
|
||||
{
|
||||
#ifdef XP_WIN
|
||||
::CoUninitialize();
|
||||
::OleUninitialize();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче