|
[PPAPI] ResourceVar now reference counts its Resource in the plugin.
ResourceVar is now an abstract base class with subclasses
HostResourceVar and PluginResourceVar. The PluginResourceVar has a
reference counted Resource instead of a PP_Resource.
VarTracker has MakeResourceVar and MakeResourcePPVar methods, to
abstract over the creation of a resource var of the correct subclass.
Also, the creation_message is now NULL when empty, instead of being an
empty message object.
BUG= 290713
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224717
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+230 lines, -58 lines) |
Patch |
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/pepper/host_resource_var.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/pepper/host_resource_var.cc
|
View
|
1
2
3
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/host_var_tracker.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/host_var_tracker.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/ppapi_proxy.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/proxy/plugin_resource_var.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
ppapi/proxy/plugin_resource_var.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/plugin_var_tracker.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/plugin_var_tracker.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/resource_var.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+18 lines, -30 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/resource_var.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/test_globals.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/unittest_utils.cc
|
View
|
1
2
3
4
|
3 chunks |
+18 lines, -14 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/var.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/var_tracker.h
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
ppapi/shared_impl/var_tracker.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|