Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Issue 22764006: [Android] Fix ime NPE after RWH is destroyed (Closed)

Created:
7 years, 4 months ago by boliu
Modified:
7 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[Android] Fix ime NPE after RWH is destroyed NULL check all access to RenderWidgetHost in ImeAdapterAndroid since RWH can be null after destruction. BUG=internal b/10143869 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217129

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M content/browser/renderer_host/ime_adapter_android.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 13 chunks +21 lines, -24 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Ben Murdoch
lgtm
7 years, 4 months ago (2013-08-12 10:36:37 UTC) #1
Ben Murdoch
https://codereview.chromium.org/22764006/diff/1/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://codereview.chromium.org/22764006/diff/1/content/browser/renderer_host/ime_adapter_android.cc#newcode279 content/browser/renderer_host/ime_adapter_android.cc:279: if (!rwhva_->GetRenderWidgetHost()) nit: make a local
7 years, 4 months ago (2013-08-12 10:38:08 UTC) #2
benm (inactive)
lgtm
7 years, 4 months ago (2013-08-12 10:38:31 UTC) #3
benm (inactive)
On 2013/08/12 10:38:31, benm wrote: > lgtm In a similar vein, I think that we'd ...
7 years, 4 months ago (2013-08-12 17:58:42 UTC) #4
boliu
Oops. Forgot to reply, that's in a separate CL almost ready to land: https://codereview.chromium.org/22882002/
7 years, 4 months ago (2013-08-12 17:59:46 UTC) #5
benm (inactive)
lgtm
7 years, 4 months ago (2013-08-12 18:04:55 UTC) #6
aelias_OOO_until_Jul13
lgtm
7 years, 4 months ago (2013-08-12 18:36:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/22764006/10001
7 years, 4 months ago (2013-08-12 18:40:58 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-13 00:14:51 UTC) #9
Message was sent while issue was closed.
Change committed as 217129

Powered by Google App Engine
This is Rietveld 408576698