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

Unified Diff: content/common/input/input_event_stream_validator.cc

Issue 304793003: use enum to specify deviceSource for fling animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased for parallel breaking changes Created 6 years, 7 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 | « content/child/blink_platform_impl.cc ('k') | content/common/input/synthetic_web_input_event_builders.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input/input_event_stream_validator.cc
diff --git a/content/common/input/input_event_stream_validator.cc b/content/common/input/input_event_stream_validator.cc
index b7dcbc2c50183fa460f801cbd3b45168c19a4603..bd6dd6428c94c233d31496bf41e3e57f41f1ed83 100644
--- a/content/common/input/input_event_stream_validator.cc
+++ b/content/common/input/input_event_stream_validator.cc
@@ -27,7 +27,7 @@ void InputEventStreamValidator::OnEvent(const WebInputEvent& event) {
if (WebInputEvent::isGestureEventType(event.type)) {
const WebGestureEvent& gesture_event =
static_cast<const WebGestureEvent&>(event);
- if (gesture_event.sourceDevice == blink::WebGestureEvent::Touchscreen) {
+ if (gesture_event.sourceDevice == blink::WebGestureDeviceTouchscreen) {
if (!gesture_validator_.Validate(gesture_event, &error_message))
NOTREACHED() << error_message;
}
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/common/input/synthetic_web_input_event_builders.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698