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

Unified Diff: ios/chrome/browser/ui/side_swipe_gesture_recognizer.mm

Issue 1078133002: [iOS] Fix constness issue in side_swipe_gesture_recognizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/side_swipe_gesture_recognizer.mm
diff --git a/ios/chrome/browser/ui/side_swipe_gesture_recognizer.mm b/ios/chrome/browser/ui/side_swipe_gesture_recognizer.mm
index 66cb5753669a867480ab4028a552454f373b3cf0..47bf38a5a972736a91e7ec98145482dff91829c3 100644
--- a/ios/chrome/browser/ui/side_swipe_gesture_recognizer.mm
+++ b/ios/chrome/browser/ui/side_swipe_gesture_recognizer.mm
@@ -11,9 +11,9 @@
namespace {
// The absolute maximum swipe angle from |x = y| for a swipe to begin.
-CGFloat kMaxSwipeYAngle = 65;
+const CGFloat kMaxSwipeYAngle = 65;
// The distance between touches for a swipe to begin.
-CGFloat kMinSwipeXThreshold = 4;
+const CGFloat kMinSwipeXThreshold = 4;
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698