Title: [110777] trunk/Tools
- Revision
- 110777
- Author
- [email protected]
- Date
- 2012-03-14 16:14:14 -0700 (Wed, 14 Mar 2012)
Log Message
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.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (110776 => 110777)
--- trunk/Tools/ChangeLog 2012-03-14 23:08:51 UTC (rev 110776)
+++ trunk/Tools/ChangeLog 2012-03-14 23:14:14 UTC (rev 110777)
@@ -1,3 +1,15 @@
+2012-03-14 Jessie Berlin <[email protected]>
+
+ 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.
+
2012-03-14 Ojan Vafai <[email protected]>
Add the chromium lion bot to garden-o-matic and remove
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp (110776 => 110777)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp 2012-03-14 23:08:51 UTC (rev 110776)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp 2012-03-14 23:14:14 UTC (rev 110777)
@@ -538,7 +538,7 @@
}
enum {
- AddChromeInputFieldCallbackID,
+ AddChromeInputFieldCallbackID = 1,
RemoveChromeInputFieldCallbackID,
FocusWebViewCallbackID,
SetBackingScaleFactorCallbackID
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes