Crash in WKTR under addChromeInputField due to using 0 as a key in a HashMap
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Mar 2012 23:14:14 +0000 (23:14 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Mar 2012 23:14:14 +0000 (23:14 +0000)
commitc4d6c97f78a7143d4760f52bfd26de611481c1a9
treebd00cee008c020c50eb4585d2221a08008445658
parentb5f1d1e5a4211085b48d7b4f9a24b46f18125e1b
Crash in WKTR under addChromeInputField due to using 0 as a key in a HashMap
https://bugs.webkit.org/show_bug.cgi?id=81167

Reviewed by Sam Weinig.

Do not use 0 as a key in a HashMap.

* WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
cacheLayoutTestControllerCallback uses the enum as keys for the callback map.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp