Index: src/heap/array-buffer-tracker.h |
diff --git a/src/heap/array-buffer-tracker.h b/src/heap/array-buffer-tracker.h |
index 7ba22fb57328a9b42a9aedda7512afe9d9c15cf2..6130003d15263fff94d56070d44a4713858ab9da 100644 |
--- a/src/heap/array-buffer-tracker.h |
+++ b/src/heap/array-buffer-tracker.h |
@@ -7,6 +7,7 @@ |
#include <map> |
+#include "src/base/platform/mutex.h" |
#include "src/globals.h" |
namespace v8 { |
@@ -47,6 +48,7 @@ class ArrayBufferTracker { |
void Promote(JSArrayBuffer* buffer); |
private: |
+ base::Mutex mutex_; |
Heap* heap_; |
// |live_array_buffers_| maps externally allocated memory used as backing |