Index: components/url_matcher/substring_set_matcher.cc |
diff --git a/components/url_matcher/substring_set_matcher.cc b/components/url_matcher/substring_set_matcher.cc |
index 9669788152cc72310ed5908aa9b248242a80ed30..848c86300e8482da1afad5962fbedc5ced86129d 100644 |
--- a/components/url_matcher/substring_set_matcher.cc |
+++ b/components/url_matcher/substring_set_matcher.cc |
@@ -229,7 +229,7 @@ void SubstringSetMatcher::CreateFailureEdges() { |
} |
} |
-const uint32 SubstringSetMatcher::AhoCorasickNode::kNoSuchEdge = ~0; |
+const uint32 SubstringSetMatcher::AhoCorasickNode::kNoSuchEdge = 0xFFFFFFFF; |
SubstringSetMatcher::AhoCorasickNode::AhoCorasickNode() |
: failure_(kNoSuchEdge) {} |