|
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238902
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+102 lines, -32 lines) |
Patch |
|
M |
gin/function_template.h
|
View
|
1
|
6 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
gin/function_template.h.pump
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
gin/gin.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
gin/handle.h
|
View
|
1
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
|
M |
gin/wrappable.h
|
View
|
|
2 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
|
M |
gin/wrappable.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
gin/wrappable_unittest.cc
|
View
|
1
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
mojo/apps/js/bindings/support.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/apps/js/bindings/waiting_callback.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/apps/js/bindings/waiting_callback.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|