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

Unified Diff: ui/events/gesture_detection/gesture_provider_unittest.cc

Issue 501503003: Avoid an extra GestureDetector instance for double-tap drag zooming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix spelling Created 6 years, 4 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: ui/events/gesture_detection/gesture_provider_unittest.cc
diff --git a/ui/events/gesture_detection/gesture_provider_unittest.cc b/ui/events/gesture_detection/gesture_provider_unittest.cc
index bb7604844bf7a5901a0ac15a009d9b5ab3e3c358..bf2ea6da05358b74718b62c6d79b059a35c0122f 100644
--- a/ui/events/gesture_detection/gesture_provider_unittest.cc
+++ b/ui/events/gesture_detection/gesture_provider_unittest.cc
@@ -45,9 +45,6 @@ GestureProvider::Config CreateDefaultConfig() {
// the second tap at microsecond intervals.
sConfig.gesture_detector_config.double_tap_timeout = kOneMicrosecond * 4;
sConfig.gesture_detector_config.double_tap_min_time = kOneMicrosecond * 2;
-
- sConfig.scale_gesture_detector_config.gesture_detector_config =
- sConfig.gesture_detector_config;
return sConfig;
}
« no previous file with comments | « ui/events/gesture_detection/gesture_provider.cc ('k') | ui/events/gesture_detection/scale_gesture_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698