Index: third_party/WebKit/Source/core/page/ContextMenuController.cpp |
diff --git a/third_party/WebKit/Source/core/page/ContextMenuController.cpp b/third_party/WebKit/Source/core/page/ContextMenuController.cpp |
index ef4a2781198e2b1aae8822c7928178d310aad61e..dcc485df456778c3a2e3245d1a7add9c293ac1fa 100644 |
--- a/third_party/WebKit/Source/core/page/ContextMenuController.cpp |
+++ b/third_party/WebKit/Source/core/page/ContextMenuController.cpp |
@@ -91,8 +91,8 @@ void ContextMenuController::PopulateCustomContextMenu(const Event& event) { |
HTMLElement& element = ToHTMLElement(*node); |
HTMLMenuElement* menu_element = element.AssignedContextMenu(); |
- if (!menu_element || |
- !EqualIgnoringCase(menu_element->FastGetAttribute(typeAttr), "context")) |
+ if (!menu_element || !DeprecatedEqualIgnoringCase( |
+ menu_element->FastGetAttribute(typeAttr), "context")) |
return; |
RelatedEvent* related_event = |
RelatedEvent::Create(EventTypeNames::show, true, true, node); |