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

Unified Diff: content/renderer/input/input_handler_proxy_unittest.cc

Issue 1403893003: Plumb gesture source value through Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing sourceDevice initialization in EventSender. Created 5 years, 2 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: content/renderer/input/input_handler_proxy_unittest.cc
diff --git a/content/renderer/input/input_handler_proxy_unittest.cc b/content/renderer/input/input_handler_proxy_unittest.cc
index 04dd386db07d8cc0391991af858997105972371c..da5e0faad145b324bb5c6a0d678ae624245b9ae3 100644
--- a/content/renderer/input/input_handler_proxy_unittest.cc
+++ b/content/renderer/input/input_handler_proxy_unittest.cc
@@ -261,6 +261,9 @@ class InputHandlerProxyTest
}
mock_input_handler_.set_is_scrolling_root(synchronous_root_scroll_);
+
+ // Set a default device so tests don't always have to set this.
+ gesture_.sourceDevice = blink::WebGestureDeviceTouchpad;
}
~InputHandlerProxyTest() {

Powered by Google App Engine
This is Rietveld 408576698