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

Unified Diff: third_party/WebKit/Source/wtf/ArrayBufferContents.h

Issue 1776943002: Register ArrayBufferContents' adjustAmountOfMemory in V8Initializer::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/wtf/ArrayBufferContents.h
diff --git a/third_party/WebKit/Source/wtf/ArrayBufferContents.h b/third_party/WebKit/Source/wtf/ArrayBufferContents.h
index 3050379251aa5d91f46e17676ae9f3e7acc5fa45..f0c7a1782969651b52f2b23c108bb9d0cbf10948 100644
--- a/third_party/WebKit/Source/wtf/ArrayBufferContents.h
+++ b/third_party/WebKit/Source/wtf/ArrayBufferContents.h
@@ -37,6 +37,8 @@
namespace WTF {
+typedef void(*AdjustAmountOfExternalAllocatedMemoryFunction)(int size);
+
class WTF_EXPORT ArrayBufferContents {
WTF_MAKE_NONCOPYABLE(ArrayBufferContents);
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();

Powered by Google App Engine
This is Rietveld 408576698