From 3d855d4707b399c0e1e85644719f392bd294f367 Mon Sep 17 00:00:00 2001 From: "dcarney@chromium.org" Date: Mon, 9 Sep 2013 10:26:25 +0000 Subject: [PATCH] remove commented out code in v8.h TBR=dslomov@chromium.org BUG= Review URL: https://codereview.chromium.org/23676007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16591 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- include/v8.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/v8.h b/include/v8.h index 11aa47394f..55a8ea6327 100644 --- a/include/v8.h +++ b/include/v8.h @@ -544,14 +544,6 @@ template 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