Index: Source/wtf/WTF.h |
diff --git a/Source/wtf/WTF.h b/Source/wtf/WTF.h |
index c62e9eddf89fbe873eace740b1e0ff77e458f777..4f5454972df7c2c9c5a98d33d72319d63b856a77 100644 |
--- a/Source/wtf/WTF.h |
+++ b/Source/wtf/WTF.h |
@@ -38,9 +38,10 @@ |
namespace WTF { |
typedef void(*HistogramEnumerationFunction)(const char* name, int sample, int boundaryValue); |
+typedef void(*AdjustAmountOfExternalAllocatedMemoryFunction)(int size); |
// This function must be called exactly once from the main thread before using anything else in WTF. |
-WTF_EXPORT void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction, TimeFunction systemTraceTimeFunction, HistogramEnumerationFunction); |
+WTF_EXPORT void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction, TimeFunction systemTraceTimeFunction, HistogramEnumerationFunction, AdjustAmountOfExternalAllocatedMemoryFunction); |
WTF_EXPORT void shutdown(); |
WTF_EXPORT bool isShutdown(); |