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

Unified Diff: cc/layers/layer_impl.h

Issue 1604053002: cc: Fix enum style conformance in InputHandler. (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
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 48e9529f3d37a21087bf325dd567c92cd0efbc48..b1571e6c96bb5fab15b5bdf0242930015a0b4aee 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -493,7 +493,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
void ApplySentScrollDeltasFromAbortedCommit();
void set_main_thread_scrolling_reasons(
- InputHandler::MainThreadScrollingReason main_thread_scrolling_reasons) {
+ uint32_t main_thread_scrolling_reasons) {
main_thread_scrolling_reasons_ = main_thread_scrolling_reasons;
}
bool should_scroll_on_main_thread() const {
@@ -774,7 +774,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
int scroll_clip_layer_id_;
gfx::Vector2dF offset_to_transform_parent_;
- InputHandler::MainThreadScrollingReason main_thread_scrolling_reasons_;
+ uint32_t main_thread_scrolling_reasons_;
bool have_wheel_event_handlers_ : 1;
bool have_scroll_event_handlers_ : 1;

Powered by Google App Engine
This is Rietveld 408576698