ash: Fix missing launcher icon regression.
commit1d212cd0ed055ce7851510c5e750402838053d87
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Apr 2012 02:50:05 +0000 (25 02:50 +0000)
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Apr 2012 02:50:05 +0000 (25 02:50 +0000)
tree6c4a2f816891cfab493c065a7c1553ae9f418e1a
parentc4340bc0a16df37171acbd99738aa49e3f35cc64
ash: Fix missing launcher icon regression.

The regression is introduced in r133603 where we use opacity to hide
newly added view but did not restore it properly on animation cancellation,
which happens when adding launcher item before animation finishes.

BUG=124855
TEST=Verify fix for issue 124855.

Review URL: http://codereview.chromium.org/10169038

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133853 0039d316-1c4b-4281-b951-d872f2087c98
ash/launcher/launcher_view.cc
ash/launcher/launcher_view_unittest.cc