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

Unified Diff: third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc

Issue 7050034: Merge google-perftools r109 (the current contents of third_party/tcmalloc/vendor) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/tests/realloc_unittest.cc
===================================================================
--- third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc (revision 88335)
+++ third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc (working copy)
@@ -33,13 +33,16 @@
// Test realloc() functionality
#include "config_for_unittests.h"
+#include <assert.h> // for assert
#include <stdio.h>
-#include <stdlib.h>
-#include <algorithm> // for min()
+#include <stddef.h> // for size_t, NULL
+#include <stdlib.h> // for free, malloc, realloc
+#include <algorithm> // for min
#include "base/logging.h"
using std::min;
+
// Fill a buffer of the specified size with a predetermined pattern
static void Fill(unsigned char* buffer, int n) {
for (int i = 0; i < n; i++) {
« no previous file with comments | « third_party/tcmalloc/chromium/src/tests/page_heap_test.cc ('k') | third_party/tcmalloc/chromium/src/tests/sampler_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698