Closed Bug 1289531 Opened 8 years ago Closed 8 years ago

../../../../workspace/gecko/widget/gonk/nsAppShell.cpp:718:52: error: use of deleted function 'mozilla::gfx::IntParam<T>::IntParam(double) [with T = int]'

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
Tracking Status
firefox50 --- fixed

People

(Reporter: b2g.bonstra, Assigned: b2g.bonstra)

References

Details

Attachments

(1 file)

Blocks: 1245091
../../../mozilla-inbound/widget/gonk/nsAppShell.cpp: In function 'void addMultiTouch(mozilla::MultiTouchInput&, const android::NotifyMotionArgs*, int)':
../../../mozilla-inbound/widget/gonk/nsAppShell.cpp:718:52: error: use of deleted function 'mozilla::gfx::IntParam<T>::IntParam(double) [with T = int]'
                          floor(coords.getY() + 0.5));
                                                    ^
In file included from ../../dist/include/mozilla/gfx/Rect.h:12:0,
                 from ../../dist/include/nsRect.h:14,
                 from ../../../mozilla-inbound/widget/nsIWidget.h:12,
                 from ../../dist/include/mozilla/BasicEvents.h:17,
                 from ../../dist/include/mozilla/MouseEvents.h:11,
                 from ../../dist/include/mozilla/dom/Touch.h:12,
                 from ../../dist/include/mozilla/TouchEvents.h:11,
                 from ../../../mozilla-inbound/widget/gonk/nsAppShell.cpp:39:
../../dist/include/mozilla/gfx/Point.h:58:3: note: declared here
   MOZ_IMPLICIT IntParam(double val) = delete;
Attachment #8774933 - Flags: review?(nical.bugzilla)
Attachment #8774933 - Flags: review?(nical.bugzilla) → review+
Pushed by fdesre@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a72c26964e28
Make float to int conversion explicit. r=nical
Assignee: nobody → b2g.bonstra
https://hg.mozilla.org/mozilla-central/rev/a72c26964e28
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: