|
Makes sure that an input method doesn't reference to a destroyed object.
This CL makes sure that an input method never reference to a destroyed object. We're not 100% sure why Issue 280219 is happening, but it seems a destroyed object is referenced from an input method.
For render_widget_host_view_win.cc, there is no need to check the focus. Even if it's not focused, the object going to be destroyed should be removed from the TSFBridge.
BUG= 280219
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221302
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+43 lines, -2 lines) |
Patch |
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_win.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/ime/dummy_input_method.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/dummy_input_method.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/fake_input_method.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/fake_input_method.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method.h
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_base.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/input_method_base.cc
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/mock_input_method.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/ime/mock_input_method.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|