temporarily remove persistent destructor to allow trunk push

TBR=dslomov@chromium.org
BUG=

Review URL: https://codereview.chromium.org/24023004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16590 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
dcarney@chromium.org 2013-09-09 10:10:26 +00:00
parent ba48f3bd8c
commit 8fa8ca8b1a
2 changed files with 4 additions and 4 deletions

View File

@ -549,9 +549,9 @@ template <class T, class M> class Persistent {
* 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();
}
// V8_INLINE(~Persistent()) {
// if (M::kResetInDestructor) Reset();
// }
/**
* If non-empty, destroy the underlying storage cell

View File

@ -12700,7 +12700,7 @@ TEST(CopyablePersistent) {
CHECK_EQ(initial_handles + 3, globals->global_handles_count());
}
// Verify autodispose
CHECK_EQ(initial_handles, globals->global_handles_count());
// CHECK_EQ(initial_handles, globals->global_handles_count());
}