diff --git a/dom/plugins/PluginInstanceChild.cpp b/dom/plugins/PluginInstanceChild.cpp index 24864f029051..33dc77136542 100644 --- a/dom/plugins/PluginInstanceChild.cpp +++ b/dom/plugins/PluginInstanceChild.cpp @@ -324,7 +324,7 @@ PluginInstanceChild::AnswerNPP_HandleEvent(const NPRemoteEvent& event, *handled = mPluginIface->event(&mData, reinterpret_cast(&evcopy)); #ifdef MOZ_X11 - if (GraphicsExpose == event.type) { + if (GraphicsExpose == event.event.type) { // Make sure the X server completes the drawing before the parent // draws on top and destroys the Drawable. //