DescriptionRevert 50913
TranslateManagerTest.NormalTranslate fails on Linux
TranslateInfoBarDelegate2 were leaked. (Yikes!)
This revealed that the NormalTranslate unit-test was incorrect (it was not testing that changing the source or target language from the after translate infobar causes a translation).
This also revealed that returning reference string in the delegate is not a brilliant idea as when we switch infobars, the new infobar might be using a string from the old infobar that might have been deleted.
BUG=None
TEST=Linux heap check bot should be green.
Review URL: http://codereview.chromium.org/2822032
TBR=jcivelli@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50914
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|