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

Unified Diff: content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc
diff --git a/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc b/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc
index 791422d38de3d0c286c626c9d1ce758640f8400e..a5ffc019ad91b39128190cafc9384d7c20fce670 100644
--- a/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc
+++ b/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc
@@ -45,7 +45,7 @@ bool TouchscreenTapSuppressionController::FilterTapEvent(
return true;
case WebInputEvent::GestureTapUnconfirmed:
- return stashed_tap_down_;
+ return !!stashed_tap_down_;
case WebInputEvent::GestureTapCancel:
case WebInputEvent::GestureTap:

Powered by Google App Engine
This is Rietveld 408576698