Revision: 15290
Author: [email protected]
Date: Mon Jun 24 06:15:07 2013
Log: Do not use deprecated MakeWeak in d8.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/17589009
http://code.google.com/p/v8/source/detail?r=15290
Modified:
/branches/bleeding_edge/src/d8.cc
=======================================
--- /branches/bleeding_edge/src/d8.cc Thu Jun 13 02:27:09 2013
+++ /branches/bleeding_edge/src/d8.cc Mon Jun 24 06:15:07 2013
@@ -1105,7 +1105,7 @@
}
Handle<v8::ArrayBuffer> buffer = ArrayBuffer::New(data, length);
v8::Persistent<v8::ArrayBuffer> weak_handle(isolate, buffer);
- weak_handle.MakeWeak(isolate, data, ReadBufferWeakCallback);
+ weak_handle.MakeWeak(data, ReadBufferWeakCallback);
weak_handle.MarkIndependent();
isolate->AdjustAmountOfExternalAllocatedMemory(length);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.