Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 7a1c479cc427d69abeecd1e235f2e979e1859e3c..15d9931a6fa625c6c0d6f86fdd615523855d557b 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -697,9 +697,6 @@ template <class T, class M> class Persistent : public PersistentBase<T> { |
return Persistent<S>::Cast(*this); |
} |
- // This will be removed. |
- V8_INLINE T* ClearAndLeak(); |
- |
private: |
friend class Isolate; |
friend class Utils; |
@@ -6226,15 +6223,6 @@ void PersistentBase<T>::MarkPartiallyDependent() { |
} |
-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; |