[Web Animations] Use is<> when possible
Created attachment 329389 [details] Patch
Comment on attachment 329389 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=329389&action=review > Source/WebCore/animation/WebAnimation.cpp:748 > - downcast<KeyframeEffect>(*m_effect).startOrStopAccelerated(); > + if (is<KeyframeEffect>(m_effect)) > + downcast<KeyframeEffect>(*m_effect).updateAcceleratedPlayState(); Did you intend to make this change?
(In reply to Dean Jackson from comment #2) > Comment on attachment 329389 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=329389&action=review > > > Source/WebCore/animation/WebAnimation.cpp:748 > > - downcast<KeyframeEffect>(*m_effect).startOrStopAccelerated(); > > + if (is<KeyframeEffect>(m_effect)) > > + downcast<KeyframeEffect>(*m_effect).updateAcceleratedPlayState(); > > Did you intend to make this change? Not with the method change name, will fix in commit.
Committed r225929: <https://trac.webkit.org/changeset/225929>
<rdar://problem/36058088>