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

Unified Diff: base/allocator/allocator_shim_default_dispatch_to_winheap.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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_shim_default_dispatch_to_winheap.cc
diff --git a/base/allocator/allocator_shim_default_dispatch_to_winheap.cc b/base/allocator/allocator_shim_default_dispatch_to_winheap.cc
index 2df3fdf5fef99cf63bcbe6317e6651dd5bda0ac8..af635cde832647cf2b831ef7dd9ecdbbb387961d 100644
--- a/base/allocator/allocator_shim_default_dispatch_to_winheap.cc
+++ b/base/allocator/allocator_shim_default_dispatch_to_winheap.cc
@@ -33,7 +33,8 @@ void* DefaultWinHeapCallocImpl(const AllocatorDispatch* self,
void* DefaultWinHeapMemalignImpl(const AllocatorDispatch* self,
size_t alignment,
size_t size) {
- CHECK(false) << "The windows heap does not support memalign.";
+ // The windows heap does not support memalign.
+ CHECK(false);
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698