Bug 1241394 - Follow up to fix windows build bustage.
authorMatt Woodrow <mwoodrow@mozilla.com>
Mon, 25 Jan 2016 13:58:38 +1300
changeset 318440 0df7afe205c5329c91ebd2f4f8d78cee58ffe139
parent 318439 2351ccd7fe59b5aef156ed04ed9dda370db9aa5d
child 318441 dadf5ab56adc77bc508c6224d9a4b9e97bf90ecc
push id1079
push userjlund@mozilla.com
push dateFri, 15 Apr 2016 21:02:33 +0000
treeherdermozilla-release@575fbf6786d5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1241394
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1241394 - Follow up to fix windows build bustage.
layout/base/nsDisplayList.cpp
--- a/layout/base/nsDisplayList.cpp
+++ b/layout/base/nsDisplayList.cpp
@@ -1851,17 +1851,17 @@ IsFrameReceivingPointerEvents(nsIFrame* 
 // the results of hit testing.
 struct FramesWithDepth
 {
   explicit FramesWithDepth(float aDepth) :
     mDepth(aDepth)
   {}
 
   bool operator<(const FramesWithDepth& aOther) const {
-    if (!FuzzyEqual(mDepth,aOther.mDepth, 0.1)) {
+    if (!FuzzyEqual(mDepth, aOther.mDepth, 0.1f)) {
       // We want to sort so that the shallowest item (highest depth value) is first
       return mDepth > aOther.mDepth;
     }
     return this < &aOther;
   }
   bool operator==(const FramesWithDepth& aOther) const {
     return this == &aOther;
   }