Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / menu_model_adapter_test.cc
index 67ce9b7..7f861de 100644 (file)
@@ -235,13 +235,12 @@ class MenuModelAdapterTest : public ViewEventTestBase,
     gfx::Point screen_location;
     views::View::ConvertPointToScreen(source, &screen_location);
     gfx::Rect bounds(screen_location, source->size());
-    ignore_result(menu_runner_->RunMenuAt(
-        source->GetWidget(),
-        button_,
-        bounds,
-        views::MenuItemView::TOPLEFT,
-        ui::MENU_SOURCE_NONE,
-        views::MenuRunner::HAS_MNEMONICS));
+    ignore_result(menu_runner_->RunMenuAt(source->GetWidget(),
+                                          button_,
+                                          bounds,
+                                          views::MENU_ANCHOR_TOPLEFT,
+                                          ui::MENU_SOURCE_NONE,
+                                          views::MenuRunner::HAS_MNEMONICS));
   }
 
   // ViewEventTestBase implementation