Index: ui/views/touchui/touch_editing_menu.cc |
diff --git a/ui/views/touchui/touch_editing_menu.cc b/ui/views/touchui/touch_editing_menu.cc |
index aa332b703b0ce6d335044113f2dd4d8c62ac3c59..0d618db9ea5879d4b7d9785d2cada2de1b5b8f17 100644 |
--- a/ui/views/touchui/touch_editing_menu.cc |
+++ b/ui/views/touchui/touch_editing_menu.cc |
@@ -61,11 +61,7 @@ TouchEditingMenuView::TouchEditingMenuView( |
gfx::NativeView context) |
: BubbleDelegateView(NULL, views::BubbleBorder::BOTTOM_CENTER), |
controller_(controller) { |
- set_anchor_point(anchor_rect.CenterPoint()); |
- set_anchor_insets(gfx::Insets(-anchor_rect.height() / 2, |
- -anchor_rect.width() / 2, |
- -anchor_rect.height() / 2, |
- -anchor_rect.width() / 2)); |
+ set_anchor_rect(anchor_rect); |
set_shadow(views::BubbleBorder::SMALL_SHADOW); |
set_parent_window(context); |
set_margins(gfx::Insets()); |