Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1073)

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl

Issue 1737443002: Make DeviceOrientationEvent.prototype.absolute non-nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address feedback Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl
index e8e0c9d69df10ffaa53ab585888595778e7afde2..e3d1b19e93327571f0a63964282addb6574f4473 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl
@@ -30,8 +30,7 @@ interface DeviceOrientationEvent : Event {
readonly attribute double? alpha;
readonly attribute double? beta;
readonly attribute double? gamma;
- // TODO(philipj): absolute should not be nullable.
- readonly attribute boolean? absolute;
+ readonly attribute boolean absolute;
// TODO(philipj): The init*Event() methods are not in the spec:
// https://github.com/w3c/deviceorientation/issues/18
@@ -41,5 +40,5 @@ interface DeviceOrientationEvent : Event {
[Default=Undefined] optional double? alpha,
[Default=Undefined] optional double? beta,
[Default=Undefined] optional double? gamma,
- [Default=Undefined] optional boolean? absolute);
+ [Default=Undefined] optional boolean absolute);
};

Powered by Google App Engine
This is Rietveld 408576698