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

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

Issue 2725263002: Revert of Fix unit tests to enable them testing with the rAF aligned touch input. (Closed)
Patch Set: Created 3 years, 10 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/renderer/input/input_handler_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/main_thread_event_queue_unittest.cc
diff --git a/content/renderer/input/main_thread_event_queue_unittest.cc b/content/renderer/input/main_thread_event_queue_unittest.cc
index 21771186dc1df58896825851333af182ac9a73c5..1fe94ddd0c00acf6c9038170752db78726f559c6 100644
--- a/content/renderer/input/main_thread_event_queue_unittest.cc
+++ b/content/renderer/input/main_thread_event_queue_unittest.cc
@@ -59,20 +59,13 @@
raf_aligned_input_setting_(GetParam()),
needs_main_frame_(false) {
std::vector<std::string> features;
- std::vector<std::string> disabled_features;
- if (raf_aligned_input_setting_ & kRafAlignedEnabledTouch) {
+ if (raf_aligned_input_setting_ & kRafAlignedEnabledTouch)
features.push_back(features::kRafAlignedTouchInputEvents.name);
- } else {
- disabled_features.push_back(features::kRafAlignedTouchInputEvents.name);
- }
- if (raf_aligned_input_setting_ & kRafAlignedEnabledMouse) {
+ if (raf_aligned_input_setting_ & kRafAlignedEnabledMouse)
features.push_back(features::kRafAlignedMouseInputEvents.name);
- } else {
- disabled_features.push_back(features::kRafAlignedMouseInputEvents.name);
- }
feature_list_.InitFromCommandLine(base::JoinString(features, ","),
- base::JoinString(disabled_features, ","));
+ std::string());
}
void SetUp() override {
« no previous file with comments | « content/renderer/input/input_handler_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698