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

Issue 7741038: Fix a memory leak in the IME candidate window of Chrome OS (2nd try). (Closed)

Created:
9 years, 4 months ago by kinaba
Modified:
9 years, 3 months ago
Reviewers:
Yusuke Sato
CC:
chromium-reviews, davemoore+watch_chromium.org, horo1
Visibility:
Public.

Description

Fix a memory leak in the IME candidate window of Chrome OS (2nd try). TEST=Observed the leak and its remediation by inserting debug counter for CandidateView constructor/destructor. Verified no crash to happen by (1.Focus Omnibox 2.Enable Japanese IME 3.type "henkan" and press space key two times 4.press enter 5.type "a"). BUG=chromium-os:18893 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98931

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M chrome/browser/chromeos/input_method/candidate_window.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
kinaba
The previous patch http://codereview.chromium.org/7624039/ deleted too early (and caused crashes after the candidate window is ...
9 years, 4 months ago (2011-08-26 00:56:30 UTC) #1
Yusuke Sato
9 years, 4 months ago (2011-08-26 06:16:35 UTC) #2
On 2011/08/26 00:56:30, kinaba wrote:
> The previous patch http://codereview.chromium.org/7624039/ deleted too early
> (and caused crashes after the candidate window is closed by commit of a
> candidate). The current one copied the idiom commonly used throughout
Chromium.

LGTM, thanks!

nit: write something in TEST= line.

Powered by Google App Engine
This is Rietveld 408576698