зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1096513 - Follow up to fix an incorrect assertion. r=Cwiiis
--HG-- extra : rebase_source : bab8417ba9133c0f8039251cbc22f3b6d19541fc
This commit is contained in:
Родитель
ec9c29bed1
Коммит
7427a68db9
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче