Index: base/allocator/allocator_extension.cc |
diff --git a/base/allocator/allocator_extension.cc b/base/allocator/allocator_extension.cc |
index 83e460ac82bc899317b0634ac3a24afbcdb44cbc..bcfe89beb0ea7339bc52b38621bb3d5094110b4f 100644 |
--- a/base/allocator/allocator_extension.cc |
+++ b/base/allocator/allocator_extension.cc |
@@ -52,5 +52,12 @@ void SetReleaseFreeMemoryFunction( |
thunks::SetReleaseFreeMemoryFunction(release_free_memory_function); |
} |
+void SetGetNumericPropertyFunction( |
+ thunks::GetNumericPropertyFunction get_numeric_property_function) { |
+ DCHECK_EQ(thunks::GetGetNumericPropertyFunction(), |
+ reinterpret_cast<thunks::GetNumericPropertyFunction>(NULL)); |
+ thunks::SetGetNumericPropertyFunction(get_numeric_property_function); |
+} |
+ |
} // namespace allocator |
} // namespace base |