Bug 996677 - Incorrect call DeviceRotationRate() ctor from another one. r=VYV03354

This commit is contained in:
Olli Pettay 2014-04-15 10:59:00 +02:00
parent 746cf3e093
commit 3d64091359

View File

@ -21,11 +21,6 @@ public:
DeviceRotationRate(DeviceMotionEvent* aOwner,
Nullable<double> aAlpha, Nullable<double> aBeta,
Nullable<double> aGamma);
DeviceRotationRate(double aAlpha, double aBeta, double aGamma)
{
DeviceRotationRate(nullptr, Nullable<double>(aAlpha),
Nullable<double>(aBeta), Nullable<double>(aGamma));
}
DeviceMotionEvent* GetParentObject() const
{
@ -58,11 +53,6 @@ public:
DeviceAcceleration(DeviceMotionEvent* aOwner,
Nullable<double> aX, Nullable<double> aY,
Nullable<double> aZ);
DeviceAcceleration(double aX, double aY, double aZ)
{
DeviceAcceleration(nullptr, Nullable<double>(aX),
Nullable<double>(aY), Nullable<double>(aZ));
}
DeviceMotionEvent* GetParentObject() const
{