diff --git a/view/nsViewManager.cpp b/view/nsViewManager.cpp index 05c81ad0cde..26781cc8938 100644 --- a/view/nsViewManager.cpp +++ b/view/nsViewManager.cpp @@ -758,7 +758,7 @@ nsViewManager::DispatchEvent(WidgetGUIEvent *aEvent, mouseEvent->mMessage != eMouseEnterIntoWidget) || aEvent->HasKeyEventMessage() || aEvent->HasIMEEventMessage() || - aEvent->mMessage == NS_PLUGIN_INPUT_EVENT) { + aEvent->mMessage == ePluginInputEvent) { gLastUserEventTime = PR_IntervalToMicroseconds(PR_IntervalNow()); } diff --git a/widget/EventMessageList.h b/widget/EventMessageList.h index 1b502d5600d..d2ed9ef4fb8 100644 --- a/widget/EventMessageList.h +++ b/widget/EventMessageList.h @@ -291,7 +291,7 @@ NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_EDGE_COMPLETED, NS_SIMPLE_GESTURE_EVENT_START // These are used to send native events to plugins. NS_EVENT_MESSAGE(ePluginEventFirst, 3600) -NS_EVENT_MESSAGE(NS_PLUGIN_INPUT_EVENT, ePluginEventFirst) +NS_EVENT_MESSAGE(ePluginInputEvent, ePluginEventFirst) // Events to manipulate selection (WidgetSelectionEvent) NS_EVENT_MESSAGE(NS_SELECTION_EVENT_START, 3700) diff --git a/widget/windows/nsWindowBase.cpp b/widget/windows/nsWindowBase.cpp index 0ab56bf6dac..43de542d745 100644 --- a/widget/windows/nsWindowBase.cpp +++ b/widget/windows/nsWindowBase.cpp @@ -23,7 +23,7 @@ nsWindowBase::DispatchPluginEvent(const MSG& aMsg) if (!PluginHasFocus()) { return false; } - WidgetPluginEvent pluginEvent(true, NS_PLUGIN_INPUT_EVENT, this); + WidgetPluginEvent pluginEvent(true, ePluginInputEvent, this); nsIntPoint point(0, 0); InitEvent(pluginEvent, &point); NPEvent npEvent;