Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
This commit is contained in:
@@ -403,7 +403,7 @@ nsBaseDragService::FireDragEventAtSource(uint32_t aMsg)
|
||||
nsCOMPtr<nsIPresShell> presShell = doc->GetShell();
|
||||
if (presShell) {
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
WidgetDragEvent event(true, aMsg, nullptr);
|
||||
WidgetDragEvent event(true, static_cast<EventMessage>(aMsg), nullptr);
|
||||
event.inputSource = mInputSource;
|
||||
if (aMsg == NS_DRAGDROP_END) {
|
||||
event.refPoint.x = mEndDragPoint.x;
|
||||
|
||||
Reference in New Issue
Block a user