Manually-animated TextIndicator fades out blue selection if you click inside it
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jan 2015 00:16:12 +0000 (00:16 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jan 2015 00:16:12 +0000 (00:16 +0000)
commit356b912897c6a0ec3959cf92e6ae4cf74a0e813f
treec56336f783fe9d3f587ae518f761e66ea654316d
parent0b764007c0e1716c85e368e29c4269db362490b0
Manually-animated TextIndicator fades out blue selection if you click inside it
https://bugs.webkit.org/show_bug.cgi?id=140224
<rdar://problem/19317526>

Reviewed by Beth Dakin.

* page/mac/TextIndicatorWindow.mm:
(-[WebTextIndicatorView hasCompletedAnimation]):
(WebCore::TextIndicatorWindow::~TextIndicatorWindow):
Avoid fading out the TextIndicator if the animation hadn't completed.
Also, use wantsManualAnimation instead of duplicating the switch here.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/mac/TextIndicatorWindow.mm