Bug 1096513 - Fix build error on a CLOSED TREE. r=me

This commit is contained in:
Chris Lord 2015-01-19 18:06:43 +00:00
parent e933b7f324
commit 9b761caf78

View File

@ -195,7 +195,7 @@ ParentLayerCoord Axis::GetOverscroll() const {
ParentLayerCoord result = (mOverscroll - mOverscrollOffset) / mOverscrollScale;
// Assert that we return overscroll in the correct direction
MOZ_ASSERT((result * mOverscrollOffset) >= 0.0f);
MOZ_ASSERT((result.value * mOverscrollOffset.value) >= 0.0f);
return result;
}