Index: third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp |
diff --git a/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp b/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp |
index 70dd710480b34271e9adabd9fe0b850debd83e7c..2a80d4657fb4b621516911fe60c084d96c3ab201 100644 |
--- a/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp |
+++ b/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp |
@@ -86,8 +86,10 @@ void CustomContextMenuProvider::AppendMenuItem(HTMLMenuItemElement* menu_item, |
} |
ContextMenuAction action = static_cast<ContextMenuAction>( |
kContextMenuItemBaseCustomTag + menu_items_.size() - 1); |
- if (EqualIgnoringCase(menu_item->FastGetAttribute(typeAttr), "checkbox") || |
- EqualIgnoringCase(menu_item->FastGetAttribute(typeAttr), "radio")) |
+ if (DeprecatedEqualIgnoringCase(menu_item->FastGetAttribute(typeAttr), |
+ "checkbox") || |
+ DeprecatedEqualIgnoringCase(menu_item->FastGetAttribute(typeAttr), |
+ "radio")) |
context_menu.AppendItem( |
ContextMenuItem(kCheckableActionType, action, label_string, icon, |
enabled, menu_item->FastHasAttribute(checkedAttr))); |