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

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

Issue 2985543002: Removing a DCHECK in OverscrollWindowAnimation::OnOverscrollModeChange (Closed)
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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/aura/overscroll_window_animation.cc
diff --git a/content/browser/web_contents/aura/overscroll_window_animation.cc b/content/browser/web_contents/aura/overscroll_window_animation.cc
index 8ed863772f022b4b5f1e2d54008bbda2fc691bef..d3246764e2cfc8dd5024e3ad1ce95afb4dedc29f 100644
--- a/content/browser/web_contents/aura/overscroll_window_animation.cc
+++ b/content/browser/web_contents/aura/overscroll_window_animation.cc
@@ -121,7 +121,6 @@ void OverscrollWindowAnimation::OnOverscrollModeChange(
0);
}
- DCHECK_EQ(overscroll_source_, OverscrollSource::NONE);
mohsen 2017/07/20 17:22:37 Do you mean that this is not always true? If yes,
mfomitchev 2017/07/20 17:28:09 See the CL that I linked in the description. Basic
mohsen 2017/07/20 18:14:26 Opps! Sorry, I missed the CL in the description!
overscroll_source_ = source;
slide_window_ = new_direction == SLIDE_FRONT
? delegate_->CreateFrontWindow(slide_window_bounds)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698