| Index: athena/content/render_view_context_menu_impl.cc
|
| diff --git a/athena/content/render_view_context_menu_impl.cc b/athena/content/render_view_context_menu_impl.cc
|
| index 9c3d9f58c13bbaa4436184cdab4624aee1840886..c2afcbccc8a918095048b6bcd2159708fa44de2b 100644
|
| --- a/athena/content/render_view_context_menu_impl.cc
|
| +++ b/athena/content/render_view_context_menu_impl.cc
|
| @@ -100,8 +100,11 @@ bool RenderViewContextMenuImpl::IsCommandIdChecked(int command_id) const {
|
| }
|
|
|
| bool RenderViewContextMenuImpl::IsCommandIdEnabled(int command_id) const {
|
| - if (RenderViewContextMenuBase::IsCommandIdEnabled(command_id))
|
| - return true;
|
| + {
|
| + bool enabled = false;
|
| + if (RenderViewContextMenuBase::GetCommandIdEnabled(command_id, &enabled))
|
| + return enabled;
|
| + }
|
| switch (command_id) {
|
| case CMD_BACK:
|
| return source_web_contents_->GetController().CanGoBack();
|
|
|