Revision: 24436
Author: [email protected]
Date: Tue Oct 7 12:37:27 2014 UTC
Log: Remove PersistentBase::ClearAndLeak
Embedders that used this method to be able to store a Persistent in a
container should use one of the containers in v8-util.h instead.
Other uses are no longer supported.
BUG=none
[email protected]
LOG=y
Review URL: https://codereview.chromium.org/635513002
https://code.google.com/p/v8/source/detail?r=24436
Modified:
/branches/bleeding_edge/include/v8.h
=======================================
--- /branches/bleeding_edge/include/v8.h Tue Oct 7 12:03:55 2014 UTC
+++ /branches/bleeding_edge/include/v8.h Tue Oct 7 12:37:27 2014 UTC
@@ -696,9 +696,6 @@
template <class S> V8_INLINE Persistent<S>& As() { // NOLINT
return Persistent<S>::Cast(*this);
}
-
- // This will be removed.
- V8_INLINE T* ClearAndLeak();
private:
friend class Isolate;
@@ -6243,15 +6240,6 @@
true,
I::kNodeIsPartiallyDependentShift);
}
-
-
-template <class T, class M>
-T* Persistent<T, M>::ClearAndLeak() {
- T* old;
- old = this->val_;
- this->val_ = NULL;
- return old;
-}
template <class T>
--
--
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/d/optout.