| Index: chrome/browser/tab_contents/render_view_context_menu.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| index 608688f81e8b17ad7b18ef6d44c961b2968f87d9..340790b12b46d4104a76854104f37d291821b225 100644
|
| --- a/chrome/browser/tab_contents/render_view_context_menu.cc
|
| +++ b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| @@ -724,12 +724,15 @@ void RenderViewContextMenu::AppendPanelItems() {
|
|
|
| bool has_selection = !params_.selection_text.empty();
|
|
|
| + // Checking link should take precedence before checking selection since on Mac
|
| + // right-clicking a link will also make it selected.
|
| + if (params_.unfiltered_link_url.is_valid())
|
| + AppendLinkItems();
|
| +
|
| if (params_.is_editable)
|
| AppendEditableItems();
|
| else if (has_selection)
|
| AppendCopyItem();
|
| - else if (params_.unfiltered_link_url.is_valid())
|
| - AppendLinkItems();
|
|
|
| // Only add extension items from this extension.
|
| int index = 0;
|
|
|