Bug 557279 - Drag & drop into plug-ins is broken. r=jimm

This commit is contained in:
Felipe Gomes 2010-06-16 18:54:20 +02:00
Родитель 2fdb1a2d73
Коммит f85c3a9229
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -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
}