Add a respondsToSelector check to dismissActionMenuPopovers
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2014 20:56:20 +0000 (20:56 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2014 20:56:20 +0000 (20:56 +0000)
commit73b0041c1d8022d6ff014ad018da5c92ea8d4e5c
treee68d4767cbd032b85cfeb207b0af70dc40e29975
parentc85b917baeb2d398e11ed8f0cf158264b943ef40
Add a respondsToSelector check to dismissActionMenuPopovers
​https://bugs.webkit.org/show_bug.cgi?id=138600
<rdar://problem/18932770>

Reviewed by Beth Dakin.

* UIProcess/mac/WKActionMenuController.mm:
(-[WKActionMenuController dismissActionMenuPopovers]):
Avoid calling this wherever it doesn't exist.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/mac/WKActionMenuController.mm