 Chromium Code Reviews
 Chromium Code Reviews Issue 1404163004:
  Swap touch selection handles when they are interchanged  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1404163004:
  Swap touch selection handles when they are interchanged  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: ui/touch_selection/touch_handle_drawable_aura.cc | 
| diff --git a/ui/touch_selection/touch_handle_drawable_aura.cc b/ui/touch_selection/touch_handle_drawable_aura.cc | 
| index 02c18a9644303a1219d97b1b898ebc03d4a1ee7d..d61ff09ac71d5599cdfcd5a5619030454cf7d565 100644 | 
| --- a/ui/touch_selection/touch_handle_drawable_aura.cc | 
| +++ b/ui/touch_selection/touch_handle_drawable_aura.cc | 
| @@ -117,6 +117,9 @@ void TouchHandleDrawableAura::SetOrientation(TouchHandleOrientation orientation, | 
| gfx::RectF(-kSelectionHandlePadding, | 
| kSelectionHandleVerticalVisualOffset - kSelectionHandlePadding, | 
| window_width, window_height); | 
| + gfx::Rect paint_bounds(relative_bounds_.x(), relative_bounds_.y(), | 
| + relative_bounds_.width(), relative_bounds_.height()); | 
| 
mohsen
2015/12/21 21:05:50
I think you should've used gfx::ToEnclosingRect()
 | 
| + window_->SchedulePaintInRect(paint_bounds); | 
| UpdateBounds(); | 
| } |