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

Unified Diff: base/allocator/allocator_extension_thunks.cc

Issue 10391178: 1. Enable large object pointer offset check in release build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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: base/allocator/allocator_extension_thunks.cc
===================================================================
--- base/allocator/allocator_extension_thunks.cc (revision 137587)
+++ base/allocator/allocator_extension_thunks.cc (working copy)
@@ -11,11 +11,12 @@
namespace thunks {
// This slightly odd translation unit exists because of the peculularity of how
-// allocator_unittests works on windows. That target has to perform
-// tcmalloc-specific initialization on windows, but it cannot depend on base
-// otherwise. This target sits in the middle - both libbase and
-// allocator_unittests can depend on it.
-// This file can't depend on anything else in base, including logging.
+// allocator_unittests and tcmalloc tests work on windows. That target has
+// to perform tcmalloc-specific initialization on windows, but it cannot depend
+// on base otherwise.
+// This target sits in the middle - base, allocator_unittests and
+// tcmalloc_unittests can depend on it. This file can't depend on anything else
+// in base, including logging.
static GetStatsFunction* g_get_stats_function = NULL;
static ReleaseFreeMemoryFunction* g_release_free_memory_function = NULL;

Powered by Google App Engine
This is Rietveld 408576698