diff options
author | tdresser <tdresser@chromium.org> | 2016-01-27 11:37:59 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-27 19:39:01 +0000 |
commit | 6a65e094c8932e539c583875c7c383ad0c27303e (patch) | |
tree | c3c5472745bb23ec016014f9599a7e387959768b /cc/input | |
parent | 4e94624be1e68b4e40db44da883dcf28c130d71d (diff) | |
download | chromium_src-6a65e094c8932e539c583875c7c383ad0c27303e.zip chromium_src-6a65e094c8932e539c583875c7c383ad0c27303e.tar.gz chromium_src-6a65e094c8932e539c583875c7c383ad0c27303e.tar.bz2 |
Fix broken MainThreadScrollingReason DCHECK.
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1640373002
Cr-Commit-Position: refs/heads/master@{#371843}
Diffstat (limited to 'cc/input')
-rw-r--r-- | cc/input/main_thread_scrolling_reason.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/input/main_thread_scrolling_reason.h b/cc/input/main_thread_scrolling_reason.h index 4de70f7..50514e6 100644 --- a/cc/input/main_thread_scrolling_reason.h +++ b/cc/input/main_thread_scrolling_reason.h @@ -16,7 +16,9 @@ struct MainThreadScrollingReason { enum : uint32_t { kThreadedScrollingDisabled = 1 << 2 }; enum : uint32_t { kScrollbarScrolling = 1 << 3 }; enum : uint32_t { kPageOverlay = 1 << 4 }; - enum : uint32_t { kMaxNonTransientScrollingReason = kPageOverlay }; + // The maximum value reachable as a combination of the non-transient scrolling + // reasons. + enum : uint32_t { kMaxNonTransientScrollingReasons = (1 << 5) - 1 }; // Transient scrolling reasons. These are computed for each scroll begin. enum : uint32_t { kNonFastScrollableRegion = 1 << 5 }; |