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
R=dcarney@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/
635513002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24436
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
return Persistent<S>::Cast(*this);
}
- // This will be removed.
- V8_INLINE T* ClearAndLeak();
-
private:
friend class Isolate;
friend class Utils;
}
-template <class T, class M>
-T* Persistent<T, M>::ClearAndLeak() {
- T* old;
- old = this->val_;
- this->val_ = NULL;
- return old;
-}
-
-
template <class T>
void PersistentBase<T>::SetWrapperClassId(uint16_t class_id) {
typedef internal::Internals I;