cc: check animation notify settings first in NotifyObservers
(like LayerAnimationController::NotifyObserversOpacityAnimated) While sending the notification to the observers, the notify settings of the animation (active and pending) are checked against the state of the observer (whether active or not). In most cases, the default setting of the animation will set active and pending as true. So in those cases there is no need to check for the active state of observer. This patch first checks if both active and pending state are true for animation. If yes then it proceedes sending the notification to observer and there is no need to check the active state of observer. Review URL: https://codereview.chromium.org/441913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287554 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment