The issue was that the window slider was initialized and then immediately quiried if the slide was in progress. It happened to return "yes" in this case, which prevented the OverscrollNavOverlay window from being removed (at least until the user interacted with the screen).

Fixed by making sure WindowSlider::IsSlideInProgress() returns "false" if sliding has never been started.

BUG=336930

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247372 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247372