|
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236029
Total comments: 9
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+149 lines, -92 lines) |
Patch |
 |
M |
gin/converter_unittest.cc
|
View
|
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
A |
gin/gin.h
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gin/gin.cc
|
View
|
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gin/gin.gyp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
D |
gin/initialize.h
|
View
|
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
D |
gin/initialize.cc
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
 |
M |
gin/runner.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gin/runner.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gin/runner_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
gin/shell/gin_main.cc
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gin/test/file_runner.cc
|
View
|
1
2
|
2 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
gin/test/run_all_unittests.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
gin/test/v8_test.h
|
View
|
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
gin/test/v8_test.cc
|
View
|
|
2 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
mojo/apps/js/main.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/public/bindings/js/test/run_all_unittests.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|