View | Details | Raw Unified | Return to bug 237440
Collapse All | Expand All

(-)i/www/webkit2-gtk3/files/patch-Source_WebCore_contentextensions_DFACombiner.cpp (+11 lines)
Added Link Here
1
--- Source/WebCore/contentextensions/DFACombiner.cpp.orig	2019-04-21 14:39:30 UTC
2
+++ Source/WebCore/contentextensions/DFACombiner.cpp
3
@@ -37,7 +37,7 @@ namespace WebCore {
4
 namespace ContentExtensions {
5
 
6
 class DFAMerger {
7
-    typedef MutableRangeList<char, uint64_t, 128> CombinedTransitionsMutableRangeList;
8
+    typedef MutableRangeList<signed char, uint64_t, 128> CombinedTransitionsMutableRangeList;
9
 
10
     enum class WhichDFA {
11
         A,
(-)i/www/webkit2-gtk3/files/patch-Source_WebCore_contentextensions_NFAToDFA.cpp (+15 lines)
Added Link Here
1
--- Source/WebCore/contentextensions/NFAToDFA.cpp.orig	2019-04-21 14:40:53 UTC
2
+++ Source/WebCore/contentextensions/NFAToDFA.cpp
3
@@ -41,9 +41,9 @@ namespace WebCore {
4
 
5
 namespace ContentExtensions {
6
 
7
-typedef MutableRange<char, NFANodeIndexSet> NFANodeRange;
8
-typedef MutableRangeList<char, NFANodeIndexSet> NFANodeRangeList;
9
-typedef MutableRangeList<char, NFANodeIndexSet, 128> PreallocatedNFANodeRangeList;
10
+typedef MutableRange<signed char, NFANodeIndexSet> NFANodeRange;
11
+typedef MutableRangeList<signed char, NFANodeIndexSet> NFANodeRangeList;
12
+typedef MutableRangeList<signed char, NFANodeIndexSet, 128> PreallocatedNFANodeRangeList;
13
 typedef Vector<uint32_t, 0, ContentExtensionsOverflowHandler> UniqueNodeList;
14
 typedef Vector<UniqueNodeList, 0, ContentExtensionsOverflowHandler> NFANodeClosures;
15
 

Return to bug 237440