Index: src/extensions/free-buffer-extension.cc |
diff --git a/src/extensions/free-buffer-extension.cc b/src/extensions/free-buffer-extension.cc |
index c2e31028bdab77ede0316e1b49f09c92a9aa832a..b4abaafe237aec39a0a1183cd20f244fd0eca5e8 100644 |
--- a/src/extensions/free-buffer-extension.cc |
+++ b/src/extensions/free-buffer-extension.cc |
@@ -47,14 +47,4 @@ void FreeBufferExtension::FreeBuffer( |
V8::ArrayBufferAllocator()->Free(contents.Data(), contents.ByteLength()); |
} |
- |
-void FreeBufferExtension::Register() { |
- static char buffer[100]; |
- Vector<char> temp_vector(buffer, sizeof(buffer)); |
- OS::SNPrintF(temp_vector, "native function freeBuffer();"); |
- |
- static FreeBufferExtension buffer_free_extension(buffer); |
- static v8::DeclareExtension declaration(&buffer_free_extension); |
-} |
- |
} } // namespace v8::internal |