Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / content_setting_bubble_contents.cc
index d82392d..9bfee02 100644 (file)
@@ -444,13 +444,13 @@ void ContentSettingBubbleContents::OnMenuButtonClicked(
 
     gfx::Point screen_location;
     views::View::ConvertPointToScreen(j->first, &screen_location);
-    ignore_result(menu_runner_->RunMenuAt(
-        source->GetWidget(),
-        j->first,
-        gfx::Rect(screen_location, j->first->size()),
-        views::MenuItemView::TOPLEFT,
-        ui::MENU_SOURCE_NONE,
-        views::MenuRunner::HAS_MNEMONICS));
+    ignore_result(
+        menu_runner_->RunMenuAt(source->GetWidget(),
+                                j->first,
+                                gfx::Rect(screen_location, j->first->size()),
+                                views::MENU_ANCHOR_TOPLEFT,
+                                ui::MENU_SOURCE_NONE,
+                                views::MenuRunner::HAS_MNEMONICS));
 }
 
 int ContentSettingBubbleContents::GetPreferredMediaMenuWidth(