| Index: third_party/WebKit/Source/platform/text/SuffixTree.h
|
| diff --git a/third_party/WebKit/Source/platform/text/SuffixTree.h b/third_party/WebKit/Source/platform/text/SuffixTree.h
|
| index 2c1b3513b1c7a6602aebda4008b6f15fec43d934..04e09e8409373fdd66c1d704b1704238b8cf7762 100644
|
| --- a/third_party/WebKit/Source/platform/text/SuffixTree.h
|
| +++ b/third_party/WebKit/Source/platform/text/SuffixTree.h
|
| @@ -104,7 +104,7 @@ class SuffixTree {
|
| Node* current = &root_;
|
| unsigned limit = std::min(base + depth_, text.length());
|
| for (unsigned offset = 0; base + offset < limit; ++offset) {
|
| - ASSERT(current != &leaf_);
|
| + DCHECK_NE(current, &leaf_);
|
| Node*& child = current->at(Codebook::CodeWord(text[base + offset]));
|
| if (!child)
|
| child = base + offset + 1 == limit ? &leaf_ : new Node();
|
|
|