Reviewers: Dmitry Lomov (chromium),
Message:
Committed patchset #1 manually as r16591.
Description:
remove commented out code in v8.h
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=16591
Please review this at https://codereview.chromium.org/23676007/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+0, -8 lines):
M include/v8.h
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index
11aa47394f55d63711b93708c6ff7252a8f651bf..55a8ea6327d258ba724d87da5de9d8d2226f0128
100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -544,14 +544,6 @@ template <class T, class M> class Persistent {
Copy(that);
return *this;
}
- /**
- * The destructor will dispose the Persistent based on the
- * kResetInDestructor flags in the traits class. Since not calling
dispose
- * can result in a memory leak, it is recommended to always set this
flag.
- */
-// V8_INLINE(~Persistent()) {
-// if (M::kResetInDestructor) Reset();
-// }
/**
* If non-empty, destroy the underlying storage cell
--
--
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.