Bug 920377 part.2 Get rid of nsPluginEvent r=roc

This commit is contained in:
Masayuki Nakano
2013-09-27 15:20:54 +09:00
parent 4e2771dcfd
commit acfcbdba3b
9 changed files with 12 additions and 14 deletions

View File

@@ -3213,7 +3213,7 @@ void* nsPluginInstanceOwner::FixUpPluginWindow(int32_t inPaintState)
// Set this before calling ProcessEvent to avoid endless recursion.
mSentInitialTopLevelWindowEvent = true;
nsPluginEvent pluginEvent(true, NS_PLUGIN_FOCUS_EVENT, nullptr);
WidgetPluginEvent pluginEvent(true, NS_PLUGIN_FOCUS_EVENT, nullptr);
NPCocoaEvent cocoaEvent;
InitializeNPCocoaEvent(&cocoaEvent);
cocoaEvent.type = NPCocoaEventWindowFocusChanged;