Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl |
index 47778630d2dcc6d92d6b8d1820b007ba371ff34d..079cc1ddeb313ae975cce46d1dbfc8474d637352 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl |
@@ -23,9 +23,9 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// https://w3c.github.io/deviceorientation/spec-source-orientation.html#devicemotion |
+// https://www.w3.org/TR/2016/CR-orientation-event-20160818/#devicemotion |
-// TODO(foolip): DeviceMotionEvent should have a constructor. |
+[Constructor(DOMString type, optional DeviceMotionEventInit eventInitDict)] |
interface DeviceMotionEvent : Event { |
readonly attribute DeviceAcceleration? acceleration; |
readonly attribute DeviceAcceleration? accelerationIncludingGravity; |