Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Unified Diff: content/browser/web_contents/aura/overscroll_navigation_overlay.cc

Issue 2983883002: Reset overscroll state when OverscrollWindowDelegate is destroyed.
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/web_contents/aura/overscroll_window_animation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/aura/overscroll_navigation_overlay.cc
diff --git a/content/browser/web_contents/aura/overscroll_navigation_overlay.cc b/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
index 9ed29e924339b8032ffaa67209c409ae64296dca..8e6352d473109e1ba0ca260c1c7b0ac1ca50da4b 100644
--- a/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
+++ b/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
@@ -251,6 +251,7 @@ void OverscrollNavigationOverlay::OnOverscrollCompleted(
aura::Window* main_window = GetMainWindow();
if (!main_window) {
RecordCancelled(direction_, owa_->overscroll_source());
+ direction_ = NONE;
return;
}
« no previous file with comments | « no previous file | content/browser/web_contents/aura/overscroll_window_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698