Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: third_party/tcmalloc/chromium/src/base/stl_allocator.h

Issue 986503002: components/metrics: Add runtime memory leak detector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove Author label from new files; Check type in LeakDetectorValueType comparators; Add missing fi… Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/tcmalloc/chromium/src/base/stl_allocator.h
diff --git a/third_party/tcmalloc/chromium/src/base/stl_allocator.h b/third_party/tcmalloc/chromium/src/base/stl_allocator.h
index 8276a83d77f7ceee765346cdcb5a1ff41c43c20e..346bf0a9903e55c0a4d18cc913b8c215fc3fc0d2 100644
--- a/third_party/tcmalloc/chromium/src/base/stl_allocator.h
+++ b/third_party/tcmalloc/chromium/src/base/stl_allocator.h
@@ -92,6 +92,7 @@ class STL_Allocator {
// There's no state, so these allocators are always equal
bool operator==(const STL_Allocator&) const { return true; }
+ bool operator!=(const STL_Allocator&) const { return false; }
};
#endif // BASE_STL_ALLOCATOR_H_

Powered by Google App Engine
This is Rietveld 408576698