Skip to content
Commit cac326b5 authored by mfomitchev@chromium.org's avatar mfomitchev@chromium.org
Browse files

Fixing race conditions in ui::content::WindowSlider which could cause the...

Fixing race conditions in ui::content::WindowSlider which could cause the overscroll overlay to never go away.

The race condition occurred because new naviagtion could happen before the callback from the animation associated with the old navigation was executed. This could get the OverscrollNavigationOverlay into a bad state.

The fix is to instantly complete the animation associated with a previous user action when new interaction occurs. Also, we now perform page navigation at the beginning of the transition animation, not in the end, which saves us 200ms in load time.

BUG=348717, 305448

Review URL: https://codereview.chromium.org/202183003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259766 0039d316-1c4b-4281-b951-d872f2087c98
parent acf00a78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment