Index: ui/views/touchui/touch_selection_controller_impl.cc |
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc |
index 185fff2c3e7acf242a2d8c78566e74695588f5eb..d00be255d4a66d1d4fb40a83926ef7bee540c6f7 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl.cc |
@@ -154,7 +154,7 @@ class TouchSelectionControllerImpl::SelectionHandleView : public View { |
} |
gfx::Point GetScreenPosition() { |
- return widget_->GetClientAreaScreenBounds().origin(); |
+ return widget_->GetClientAreaBoundsInScreen().origin(); |
} |
private: |
@@ -231,7 +231,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView |
} |
gfx::Point GetScreenPosition() { |
- return widget_->GetClientAreaScreenBounds().origin(); |
+ return widget_->GetClientAreaBoundsInScreen().origin(); |
} |
void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE { |
@@ -413,7 +413,7 @@ void TouchSelectionControllerImpl::SelectionHandleDragged( |
void TouchSelectionControllerImpl::ConvertPointToClientView( |
SelectionHandleView* source, gfx::Point* point) { |
View::ConvertPointToScreen(source, point); |
- gfx::Rect r = client_view_->GetWidget()->GetClientAreaScreenBounds(); |
+ gfx::Rect r = client_view_->GetWidget()->GetClientAreaBoundsInScreen(); |
point->SetPoint(point->x() - r.x(), point->y() - r.y()); |
View::ConvertPointFromWidget(client_view_, point); |
} |