|
Fix a crash related to PPAPI scripting.
SerializedVar and MessageChannel didn't properly handle the case that the dispatcher goes away while waiting for the reply to a sync message.
BUG= 110095
TEST=When click the Test button on ppapi/example/example.html, the plugin is removed but the renderer doesn't crash.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126014
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+126 lines, -138 lines) |
Patch |
 |
M |
ppapi/example/example.cc
|
View
|
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/example/example.html
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/dispatcher.h
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/dispatcher.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/host_dispatcher.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/host_var_serialization_rules.h
|
View
|
|
2 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/host_var_serialization_rules.cc
|
View
|
|
4 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.h
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_var_serialization_rules.h
|
View
|
1
2
3
|
1 chunk |
+17 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_var_serialization_rules.cc
|
View
|
1
2
|
5 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/serialized_var.h
|
View
|
1
2
3
4
5
|
8 chunks |
+8 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/serialized_var.cc
|
View
|
1
2
3
4
5
|
14 chunks |
+11 lines, -28 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/var_serialization_rules.h
|
View
|
|
5 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/message_channel.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/message_channel.cc
|
View
|
|
11 chunks |
+27 lines, -19 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|