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

Unified Diff: ui/events/blink/blink_event_util.h

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits Created 3 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 | « ui/content_accelerators/accelerator_util.cc ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/blink_event_util.h
diff --git a/ui/events/blink/blink_event_util.h b/ui/events/blink/blink_event_util.h
index 8eae9b03e088714415629b1ad6140d34aba7affe..3d08f6d44e124e489624da419a898c90386cb3eb 100644
--- a/ui/events/blink/blink_event_util.h
+++ b/ui/events/blink/blink_event_util.h
@@ -95,7 +95,7 @@ bool IsContinuousGestureEvent(blink::WebInputEvent::Type);
inline const blink::WebGestureEvent& ToWebGestureEvent(
const blink::WebInputEvent& event) {
- DCHECK(IsGestureScollOrPinch(event.type));
+ DCHECK(IsGestureScollOrPinch(event.type()));
return static_cast<const blink::WebGestureEvent&>(event);
}
« no previous file with comments | « ui/content_accelerators/accelerator_util.cc ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698