diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 21:47:04 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 21:47:04 +0000 |
commit | cb6c2bb25fa9cb9aaa7713fb829f77d660899b39 (patch) | |
tree | ee85fec3be3152fcb7ad8c8caa8dac19072a37e8 /gin/isolate_holder.cc | |
parent | 22c17bcb2e798ed74c25cd366b40d8483c7eaf24 (diff) | |
download | chromium_src-cb6c2bb25fa9cb9aaa7713fb829f77d660899b39.zip chromium_src-cb6c2bb25fa9cb9aaa7713fb829f77d660899b39.tar.gz chromium_src-cb6c2bb25fa9cb9aaa7713fb829f77d660899b39.tar.bz2 |
[gin] Introduce Wrappable::GetObjectTemplate
Instead of explicitly registering object templates for all wrapper
infos, add a method on wrappable that returns the template when
needed.
BUG=none
R=aa@chromium.org,abarth@chromium.org
Review URL: https://codereview.chromium.org/113893005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241370 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/isolate_holder.cc')
-rw-r--r-- | gin/isolate_holder.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc index 1929ebd..411f26a 100644 --- a/gin/isolate_holder.cc +++ b/gin/isolate_holder.cc @@ -73,7 +73,6 @@ void IsolateHolder::Init() { v8::Isolate::Scope isolate_scope(isolate_); v8::HandleScope handle_scope(isolate_); isolate_data_.reset(new PerIsolateData(isolate_)); - InitFunctionTemplates(isolate_data_.get()); } } // namespace gin |