summaryrefslogtreecommitdiffstats
path: root/gin/arguments.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-19 19:25:12 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-19 19:25:12 +0000
commit1b93c237f36e291242da6b03550f2c4a9f1c6d1c (patch)
tree91bbdda0b6425fc5a2b191ef0777619f5cce8f19 /gin/arguments.cc
parent41494f74e8f9dac770129841b73b5251b96b6fe0 (diff)
downloadchromium_src-1b93c237f36e291242da6b03550f2c4a9f1c6d1c.zip
chromium_src-1b93c237f36e291242da6b03550f2c4a9f1c6d1c.tar.gz
chromium_src-1b93c237f36e291242da6b03550f2c4a9f1c6d1c.tar.bz2
Introduce a Gin class instead of using global functions to control gin
The Gin class holds and controls a v8::Isolate. The isolate is not entered by default, i.e. before you can use gin for a given Gin instance, you need to enter the isolate first, e.g. by using a v8::Isolate::Scope. This has the advantage that we don't rely on the deprecate default isolate, and also support having multiple isolates in one process. BUG=317398 R=abarth@chromium.org TEST=gin_unittests and mojo_js_bindings_unittests pass Review URL: https://codereview.chromium.org/76353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236029 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/arguments.cc')
0 files changed, 0 insertions, 0 deletions