Bug 1096513 - Follow up to fix an incorrect assertion. r=Cwiiis

--HG--
extra : rebase_source : bab8417ba9133c0f8039251cbc22f3b6d19541fc
This commit is contained in:
Botond Ballo 2015-01-21 12:35:49 -05:00
Родитель ec9c29bed1
Коммит 7427a68db9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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