DescriptionMake the TranslateInfoBarDelegate once again use the TranslateUIDelegate.
This is basically a revert of r234759. I realized that I can simply pass in an
appropriate WebContents* to the TranslateInfoBarDelegate constructor, instead of
waiting until web_contents() will return something non-NULL. I feel dumb for
not thinking of this sooner.
BUG=62154
TEST=none
R=hajimehoshi@chromium.org, miguelg@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239307
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Messages
Total messages: 4 (0 generated)
|