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

Unified Diff: cc/blink/web_layer_impl.cc

Issue 1640373002: Fix broken MainThreadScrollingReason DCHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | cc/input/main_thread_scrolling_reason.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_layer_impl.cc
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc
index ce265035dcd77a59362f349f71c1c126efd18393..cd1033845a2eb042d5396fd056c297e45e21b25c 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -344,7 +344,7 @@ void WebLayerImpl::addMainThreadScrollingReasons(
// TODO(tdresser): This is comparing less than a bit flag but that's not valid
// if there is more than one reason given in |main_thread_scrolling_reasons|.
DCHECK_LE(main_thread_scrolling_reasons,
- cc::MainThreadScrollingReason::kMaxNonTransientScrollingReason);
+ cc::MainThreadScrollingReason::kMaxNonTransientScrollingReasons);
layer_->AddMainThreadScrollingReasons(main_thread_scrolling_reasons);
}
« no previous file with comments | « no previous file | cc/input/main_thread_scrolling_reason.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698