| Index: third_party/re2/util/sparse_set.h | 
| diff --git a/third_party/re2/util/sparse_set.h b/third_party/re2/util/sparse_set.h | 
| index 165dd090eb49df4fc4a96259eb707d2d8a2370c7..4a324d7c7cb6710261ff584146d14ac5039bd572 100644 | 
| --- a/third_party/re2/util/sparse_set.h | 
| +++ b/third_party/re2/util/sparse_set.h | 
| @@ -54,13 +54,14 @@ namespace re2 { | 
| class SparseSet { | 
| public: | 
| SparseSet() | 
| -    : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), valgrind_(RunningOnValgrind()) {} | 
| +    : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), | 
| +      valgrind_(RunningOnValgrindOrMemorySanitizer()) {} | 
|  | 
| SparseSet(int max_size) { | 
| max_size_ = max_size; | 
| sparse_to_dense_ = new int[max_size]; | 
| dense_ = new int[max_size]; | 
| -    valgrind_ = RunningOnValgrind(); | 
| +    valgrind_ = RunningOnValgrindOrMemorySanitizer(); | 
| // Don't need to zero the memory, but do so anyway | 
| // to appease Valgrind. | 
| if (valgrind_) { | 
|  |