Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: include/v8.h

Issue 95003004: Undeprecate Persistent::ClearAndLeak (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 28b65672221bffb12a8133938868b350e07ae03e..815f43db7b2fb392ec521940c3b43821f190196b 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -734,8 +734,8 @@ template <class T, class M> class Persistent : public PersistentBase<T> {
P* parameter,
typename WeakReferenceCallbacks<T, P>::Revivable callback));
- V8_DEPRECATED("This will be removed",
- V8_INLINE T* ClearAndLeak());
+ // This will be removed.
+ V8_INLINE T* ClearAndLeak();
V8_DEPRECATED("This will be removed",
V8_INLINE void Clear()) { this->val_ = 0; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698