Title: [203442] trunk/Source/WebKit2
- Revision
- 203442
- Author
- [email protected]
- Date
- 2016-07-19 20:23:18 -0700 (Tue, 19 Jul 2016)
Log Message
Web Automation: WebAutomationSessionProxy's HashMaps should support '0' as valid keys
https://bugs.webkit.org/show_bug.cgi?id=159957
<rdar://problem/27376446>
Reviewed by Joseph Pecoraro.
* WebProcess/Automation/WebAutomationSessionProxy.h:
Use UnsignedWithZeroKeyHashTraits to avoid problems with zero as a key.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (203441 => 203442)
--- trunk/Source/WebKit2/ChangeLog 2016-07-20 01:45:51 UTC (rev 203441)
+++ trunk/Source/WebKit2/ChangeLog 2016-07-20 03:23:18 UTC (rev 203442)
@@ -1,3 +1,14 @@
+2016-07-19 Brian Burg <[email protected]>
+
+ Web Automation: WebAutomationSessionProxy's HashMaps should support '0' as valid keys
+ https://bugs.webkit.org/show_bug.cgi?id=159957
+ <rdar://problem/27376446>
+
+ Reviewed by Joseph Pecoraro.
+
+ * WebProcess/Automation/WebAutomationSessionProxy.h:
+ Use UnsignedWithZeroKeyHashTraits to avoid problems with zero as a key.
+
2016-07-19 Anders Carlsson <[email protected]>
Some payment authorization status values should keep the sheet active
Modified: trunk/Source/WebKit2/WebProcess/Automation/WebAutomationSessionProxy.h (203441 => 203442)
--- trunk/Source/WebKit2/WebProcess/Automation/WebAutomationSessionProxy.h 2016-07-20 01:45:51 UTC (rev 203441)
+++ trunk/Source/WebKit2/WebProcess/Automation/WebAutomationSessionProxy.h 2016-07-20 03:23:18 UTC (rev 203442)
@@ -71,8 +71,8 @@
String m_sessionIdentifier;
- HashMap<uint64_t, JSObjectRef> m_webFrameScriptObjectMap;
- HashMap<uint64_t, Vector<uint64_t>> m_webFramePendingEvaluateJavaScriptCallbacksMap;
+ HashMap<uint64_t, JSObjectRef, DefaultHash<uint64_t>::Hash, WTF::UnsignedWithZeroKeyHashTraits<uint64_t>> m_webFrameScriptObjectMap;
+ HashMap<uint64_t, Vector<uint64_t>, DefaultHash<uint64_t>::Hash, WTF::UnsignedWithZeroKeyHashTraits<uint64_t>> m_webFramePendingEvaluateJavaScriptCallbacksMap;
};
} // namespace WebKit
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes