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

Issue 7589002: Fix a crash in the translate info bar. (Closed)

Created:
9 years, 4 months ago by MAD
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix a crash in the translate info bar. A language from the accepted list was converted before being validated, but the unconverted version was returned. BUG=90106 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96125

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -24 lines) Patch
M chrome/browser/translate/translate_infobar_delegate.h View 1 2 3 4 5 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/translate/translate_infobar_delegate.cc View 1 2 3 4 5 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 2 3 4 5 4 chunks +7 lines, -13 lines 0 comments Download
M chrome/browser/translate/translate_manager_browsertest.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
MAD
A subtle crash was introduced by the new feature of looking up all accepted languages... ...
9 years, 4 months ago (2011-08-05 21:55:44 UTC) #1
MAD
Ping! This is a Beta crasher that will need to be merged up... It's a ...
9 years, 4 months ago (2011-08-08 17:55:25 UTC) #2
dfilimon
On 2011/08/08 17:55:25, MAD wrote: > Ping! > > This is a Beta crasher that ...
9 years, 4 months ago (2011-08-08 18:17:34 UTC) #3
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 4 months ago (2011-08-08 18:30:48 UTC) #4
bstell1
LGTM http://codereview.chromium.org/7589002/diff/2001/chrome/browser/translate/translate_manager_browsertest.cc File chrome/browser/translate/translate_manager_browsertest.cc (right): http://codereview.chromium.org/7589002/diff/2001/chrome/browser/translate/translate_manager_browsertest.cc#newcode908 chrome/browser/translate/translate_manager_browsertest.cc:908: // code removal code which was causing a ...
9 years, 4 months ago (2011-08-08 18:32:25 UTC) #5
MAD
Thanks! BYE MAD http://codereview.chromium.org/7589002/diff/2001/chrome/browser/translate/translate_manager_browsertest.cc File chrome/browser/translate/translate_manager_browsertest.cc (right): http://codereview.chromium.org/7589002/diff/2001/chrome/browser/translate/translate_manager_browsertest.cc#newcode908 chrome/browser/translate/translate_manager_browsertest.cc:908: // code removal code which was ...
9 years, 4 months ago (2011-08-08 18:42:15 UTC) #6
bstell1
Thank you for fixing this :-D On Mon, Aug 8, 2011 at 11:42 AM, <mad@chromium.org> ...
9 years, 4 months ago (2011-08-08 19:34:50 UTC) #7
MAD
Added some NULL checks as suggested by Peter...
9 years, 4 months ago (2011-08-08 20:24:16 UTC) #8
Peter Kasting
http://codereview.chromium.org/7589002/diff/6002/chrome/browser/translate/translate_manager.cc File chrome/browser/translate/translate_manager.cc (right): http://codereview.chromium.org/7589002/diff/6002/chrome/browser/translate/translate_manager.cc#newcode518 chrome/browser/translate/translate_manager.cc:518: NOTREACHED(); Don't do this. This is effectively handling a ...
9 years, 4 months ago (2011-08-08 20:28:49 UTC) #9
MAD
How about this then? (I forgot to add the delegate code previously, sorry about that, ...
9 years, 4 months ago (2011-08-08 21:55:27 UTC) #10
Peter Kasting
Just merging the minimal fix is OK, although I think merging the complete fix here ...
9 years, 4 months ago (2011-08-08 22:09:49 UTC) #11
MAD
Thanks! BYE MAD http://codereview.chromium.org/7589002/diff/7003/chrome/browser/translate/translate_infobar_delegate.cc File chrome/browser/translate/translate_infobar_delegate.cc (right): http://codereview.chromium.org/7589002/diff/7003/chrome/browser/translate/translate_infobar_delegate.cc#newcode38 chrome/browser/translate/translate_infobar_delegate.cc:38: // This must be validated by ...
9 years, 4 months ago (2011-08-09 14:19:41 UTC) #12
jungshik at Google
thank you for the fix. LGTM
9 years, 4 months ago (2011-08-09 20:41:42 UTC) #13
MAD
Waiting for win try bots to go green before I hit the commit box... Thanks! ...
9 years, 4 months ago (2011-08-09 20:59:11 UTC) #14
commit-bot: I haz the power
9 years, 4 months ago (2011-08-10 04:09:19 UTC) #15
Change committed as 96125

Powered by Google App Engine
This is Rietveld 408576698