mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 07:26:26 +00:00
![Kartikaya Gupta](/assets/img/avatar_default.png)
In some cases the mScrollOffset was getting updated on the mFrameMetrics before the IsDefault() check, so the IsDefault() check would return false when it should have returned true. Calling IsDefault() on the mFrameMetrics before writing stuff into it fixes this.