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

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

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.h
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
index 48aa6c793bc6b77866231fe4d4c2fe90f30a77f7..545c2fbd247c8943d0055a64c45a39f035955775 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
@@ -47,14 +47,14 @@ public:
return adoptRefWillBeNoop(new DeviceOrientationEvent(eventType, orientation));
}
- void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, const Nullable<double>& alpha, const Nullable<double>& beta, const Nullable<double>& gamma, const Nullable<bool>& absolute);
+ void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, const Nullable<double>& alpha, const Nullable<double>& beta, const Nullable<double>& gamma, bool absolute);
DeviceOrientationData* orientation() const { return m_orientation.get(); }
double alpha(bool& isNull) const;
double beta(bool& isNull) const;
double gamma(bool& isNull) const;
- bool absolute(bool& isNull) const;
+ bool absolute() const;
const AtomicString& interfaceName() const override;

Powered by Google App Engine
This is Rietveld 408576698