| 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 38585496e7af3b23fbeb69026354ee1aed3a7122..98bb06465d443983afbd39bf55ddd2d7cb3988f2 100644
|
| --- a/third_party/WebKit/Source/core/page/ContextMenuController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/ContextMenuController.cpp
|
| @@ -96,7 +96,7 @@ void ContextMenuController::populateCustomContextMenu(const Event& event)
|
|
|
| HTMLElement& element = toHTMLElement(*node);
|
| RefPtrWillBeRawPtr<HTMLMenuElement> menuElement = element.assignedContextMenu();
|
| - if (!menuElement || !equalIgnoringCase(menuElement->fastGetAttribute(typeAttr), "popup"))
|
| + if (!menuElement || !equalIgnoringCase(menuElement->fastGetAttribute(typeAttr), "context"))
|
| return;
|
| RefPtrWillBeRawPtr<RelatedEvent> relatedEvent = RelatedEvent::create(EventTypeNames::show, true, true, node);
|
| if (!menuElement->dispatchEvent(relatedEvent.release()))
|
|
|