Bug 1044497 - Fix Yosemite build error (cannot initialize a parameter of type 'NSEventType' with an lvalue of type 'uint32_t') r=spohl

This commit is contained in:
Steven Michaud 2014-08-06 21:35:53 -05:00
Родитель 9ace968019
Коммит c9eefba11c
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1478,7 +1478,7 @@ nsresult nsChildView::SynthesizeNativeMouseEvent(nsIntPoint aPoint,
NSPoint screenPoint = NSMakePoint(pt.x, nsCocoaUtils::FlippedScreenY(pt.y));
NSPoint windowPoint = [[mView window] convertScreenToBase:screenPoint];
NSEvent* event = [NSEvent mouseEventWithType:aNativeMessage
NSEvent* event = [NSEvent mouseEventWithType:(NSEventType)aNativeMessage
location:windowPoint
modifierFlags:aModifierFlags
timestamp:[NSDate timeIntervalSinceReferenceDate]