Index: core/events/MouseEvent.idl |
diff --git a/core/events/MouseEvent.idl b/core/events/MouseEvent.idl |
index 92c3bfb518a679d32abeb73f82e31f7d4527f185..7dd8284bf78d89c4963cf301930e15a756fa0f82 100644 |
--- a/core/events/MouseEvent.idl |
+++ b/core/events/MouseEvent.idl |
@@ -18,7 +18,7 @@ |
*/ |
[ |
- ConstructorTemplate=Event |
+ EventConstructor, |
] interface MouseEvent : UIEvent { |
[InitializedByEventConstructor] readonly attribute long screenX; |
[InitializedByEventConstructor] readonly attribute long screenY; |
@@ -29,7 +29,7 @@ |
[InitializedByEventConstructor] readonly attribute boolean altKey; |
[InitializedByEventConstructor] readonly attribute boolean metaKey; |
[InitializedByEventConstructor] readonly attribute unsigned short button; |
- [InitializedByEventConstructor] readonly attribute EventTarget relatedTarget; |
+ [InitializedByEventConstructor] readonly attribute EventTarget? relatedTarget; |
readonly attribute long webkitMovementX; |
readonly attribute long webkitMovementY; |