| Index: chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_context_menu_win.cc b/chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| index 8c16a951e174eaa12cd4a4255108054d272662f3..bff9a82e19e175d30b466353b56928a11688cf2e 100644
|
| --- a/chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| +++ b/chrome/browser/tab_contents/render_view_context_menu_win.cc
|
| @@ -32,7 +32,7 @@ RenderViewContextMenuViews* RenderViewContextMenuViews::Create(
|
|
|
| bool RenderViewContextMenuWin::IsCommandIdVisible(int command_id) const {
|
| // In windows 8 metro mode no new window option on normal browser windows.
|
| - if (base::win::GetMetroModule() && !profile_->IsOffTheRecord() &&
|
| + if (base::win::IsMetroProcess() && !profile_->IsOffTheRecord() &&
|
| command_id == IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW) {
|
| return false;
|
| }
|
| @@ -45,7 +45,7 @@ void RenderViewContextMenuWin::ExecuteCommand(int command_id) {
|
|
|
| void RenderViewContextMenuWin::ExecuteCommand(int command_id,
|
| int event_flags) {
|
| - if (base::win::GetMetroModule() &&
|
| + if (base::win::IsMetroProcess() &&
|
| command_id == IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW) {
|
| // The open link in new window command should only be enabled for
|
| // incognito windows in metro mode.
|
|
|