| 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 b766ba07be198c5d4339c1234bc1f8dc7bf72f1d..724b19cf04502c62c531c4d2c4d92aa929b55a66 100644
|
| --- a/third_party/WebKit/Source/platform/text/SuffixTree.h
|
| +++ b/third_party/WebKit/Source/platform/text/SuffixTree.h
|
| @@ -105,7 +105,7 @@ class SuffixTree {
|
| Node* current = &m_root;
|
| unsigned limit = std::min(base + m_depth, text.length());
|
| for (unsigned offset = 0; base + offset < limit; ++offset) {
|
| - ASSERT(current != &m_leaf);
|
| + DCHECK_NE(current, &m_leaf);
|
| Node*& child = current->at(Codebook::codeWord(text[base + offset]));
|
| if (!child)
|
| child = base + offset + 1 == limit ? &m_leaf : new Node();
|
|
|