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

Unified Diff: base/memory/discardable_shared_memory.h

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « base/mac/scoped_sending_event_unittest.mm ('k') | base/memory/discardable_shared_memory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/discardable_shared_memory.h
diff --git a/base/memory/discardable_shared_memory.h b/base/memory/discardable_shared_memory.h
index c69c970edc8c0d6f7dd21985c30e57d007aeb89e..abee8687a86ee43547057274386244275517d035 100644
--- a/base/memory/discardable_shared_memory.h
+++ b/base/memory/discardable_shared_memory.h
@@ -11,7 +11,7 @@
#include "base/threading/thread_collision_warner.h"
#include "base/time/time.h"
-#if DCHECK_IS_ON
+#if DCHECK_IS_ON()
#include <set>
#endif
@@ -119,7 +119,7 @@ class BASE_EXPORT DiscardableSharedMemory {
SharedMemory shared_memory_;
size_t mapped_size_;
size_t locked_page_count_;
-#if DCHECK_IS_ON
+#if DCHECK_IS_ON()
std::set<size_t> locked_pages_;
#endif
// Implementation is not thread-safe but still usable if clients are
« no previous file with comments | « base/mac/scoped_sending_event_unittest.mm ('k') | base/memory/discardable_shared_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698