Make WindowImpl take into account the icon in the class registrar.

This fixes the bug where an incorrect icon was being
shown in the Windows Task Manager and Task Switcher.

The problem was that the ClassRegistrar was re-using
window classes between different windows, but its
lookup function was not taking into account the icon.

This caused the main Chrome window to take on the
class registered by SingletonHwnd, which did not have
an icon set.

BUG=118368, 117687
TEST=Launch Chrome and check that Chrome's icon
looks correct in the Task Manager and Task Switcher.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131673 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed