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

Unified Diff: blimp/client/core/input/blimp_input_handler_wrapper.cc

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Created 4 years 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: blimp/client/core/input/blimp_input_handler_wrapper.cc
diff --git a/blimp/client/core/input/blimp_input_handler_wrapper.cc b/blimp/client/core/input/blimp_input_handler_wrapper.cc
index 0b18d58a276779cfdaf67f43dda3cb9dd19044b4..88698c66e3efd0e0ea9609d883026391e41bfe40 100644
--- a/blimp/client/core/input/blimp_input_handler_wrapper.cc
+++ b/blimp/client/core/input/blimp_input_handler_wrapper.cc
@@ -101,7 +101,7 @@ void BlimpInputHandlerWrapper::DispatchNonBlockingEventToMainThread(
ui::ScopedWebInputEvent event,
const ui::LatencyInfo& latency_info) {
DCHECK(compositor_thread_checker_.CalledOnValidThread());
- DCHECK_EQ(event->type, blink::WebInputEvent::MouseWheel);
+ DCHECK_EQ(event->type(), blink::WebInputEvent::MouseWheel);
NOTIMPLEMENTED()
<< "Dispatching Non Blocking Events to the engine is not supported";
« no previous file with comments | « no previous file | blimp/client/core/input/blimp_input_manager.cc » ('j') | third_party/WebKit/public/platform/WebInputEvent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698