diff options
author | twiz@google.com <twiz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 21:24:59 +0000 |
---|---|---|
committer | twiz@google.com <twiz@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 21:24:59 +0000 |
commit | b283a75393c7c54e33ca7d25f9eec55ac6a2960b (patch) | |
tree | f18455820a1e47b5da8602f7ebc0a99296866e11 /chrome/browser/translate | |
parent | 8e07d29abff1de820b4ca5105534f3bcc6a0510d (diff) | |
download | chromium_src-b283a75393c7c54e33ca7d25f9eec55ac6a2960b.zip chromium_src-b283a75393c7c54e33ca7d25f9eec55ac6a2960b.tar.gz chromium_src-b283a75393c7c54e33ca7d25f9eec55ac6a2960b.tar.bz2 |
Clone of issue 2941001. See initial review below.
http://codereview.chromium.org/2941001
Initial submit broke the chromeos build. This patch includes the original change, and fixes to compile ChromeOs properly.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/2819086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/translate')
-rw-r--r-- | chrome/browser/translate/translate_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/translate/translate_manager.cc b/chrome/browser/translate/translate_manager.cc index 13810e6..23bfc2f 100644 --- a/chrome/browser/translate/translate_manager.cc +++ b/chrome/browser/translate/translate_manager.cc @@ -456,7 +456,8 @@ void TranslateManager::ReportLanguageDetectionError(TabContents* tab_contents) { } browser->AddTabWithURL(GURL(report_error_url), GURL(), PageTransition::AUTO_BOOKMARK, -1, - TabStripModel::ADD_SELECTED, NULL, std::string()); + TabStripModel::ADD_SELECTED, NULL, std::string(), + NULL); } void TranslateManager::DoTranslatePage(TabContents* tab, |