summaryrefslogtreecommitdiffstats
path: root/gin/gin.gyp
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-05 05:48:01 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-05 05:48:01 +0000
commitd379b0c114edce5969d2460f9d81063f82ae9441 (patch)
treead3e81cec1321edec61d1bac8f895f5ab77de0d8 /gin/gin.gyp
parent8f477c00fe9d679700a3a3d03d3b99cba72a0ca9 (diff)
downloadchromium_src-d379b0c114edce5969d2460f9d81063f82ae9441.zip
chromium_src-d379b0c114edce5969d2460f9d81063f82ae9441.tar.gz
chromium_src-d379b0c114edce5969d2460f9d81063f82ae9441.tar.bz2
gin::Wrappable shouldn't inherit from base::RefCounted
Rather than using reference counting to keep gin::Wrappable objects alive, we use the V8 garbage collector. To retain a reference to a wrappable object on the stack, use a gin::Handle. Currently there is no mechanism for retaining a gin::Wrappable object in the heap, but we'll likely add one in the future. R=aa@chromium.org BUG=none Review URL: https://codereview.chromium.org/105423003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/gin.gyp')
-rw-r--r--gin/gin.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gin/gin.gyp b/gin/gin.gyp
index f115604..172ed78 100644
--- a/gin/gin.gyp
+++ b/gin/gin.gyp
@@ -31,6 +31,7 @@
'dictionary.h',
'function_template.cc',
'function_template.h',
+ 'handle.h',
'isolate_holder.cc',
'modules/console.cc',
'modules/console.h',