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

Unified Diff: ui/base/gestures/gesture_point.cc

Issue 11110004: Make gfx::Rect class operations consistently mutate the class they are called on. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: cc/ fixes Created 8 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
« no previous file with comments | « ui/app_list/search_result_view.cc ('k') | ui/base/native_theme/native_theme_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gestures/gesture_point.cc
diff --git a/ui/base/gestures/gesture_point.cc b/ui/base/gestures/gesture_point.cc
index 1447a43afab349d72b45559497a6a50d96fbcdc0..31d9e918e2c41c9ac688ce040240e4d57cec05f7 100644
--- a/ui/base/gestures/gesture_point.cc
+++ b/ui/base/gestures/gesture_point.cc
@@ -191,7 +191,7 @@ void GesturePoint::UpdateEnclosingRectangle(const TouchEvent& event) {
radius * 2,
radius * 2);
if (IsInClickWindow(event))
- enclosing_rect_ = enclosing_rect_.Union(rect);
+ enclosing_rect_.Union(rect);
else
enclosing_rect_ = rect;
}
« no previous file with comments | « ui/app_list/search_result_view.cc ('k') | ui/base/native_theme/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698