summaryrefslogtreecommitdiffstats
path: root/gin
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 13:30:14 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 13:30:14 +0000
commitc6ee13cbbcfe89f96894432fd1dac10b9e70e915 (patch)
tree90cc25b05b7958d8680482f78ee7979a8b50ef25 /gin
parentc8bbd2186ed96f8cf76056f959011b2b7c3f5238 (diff)
downloadchromium_src-c6ee13cbbcfe89f96894432fd1dac10b9e70e915.zip
chromium_src-c6ee13cbbcfe89f96894432fd1dac10b9e70e915.tar.gz
chromium_src-c6ee13cbbcfe89f96894432fd1dac10b9e70e915.tar.bz2
[gin] also install gin function templates on non-gin managed isolates
BUG=321631 R=dcarney@chromium.org Review URL: https://codereview.chromium.org/110443005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin')
-rw-r--r--gin/isolate_holder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc
index 1ddbe78..091a983 100644
--- a/gin/isolate_holder.cc
+++ b/gin/isolate_holder.cc
@@ -66,6 +66,7 @@ IsolateHolder::IsolateHolder(v8::Isolate* isolate)
v8::Isolate::Scope isolate_scope(isolate_);
v8::HandleScope handle_scope(isolate_);
isolate_data_.reset(new PerIsolateData(isolate_));
+ InitFunctionTemplates(isolate_data_.get());
}
IsolateHolder::~IsolateHolder() {