| Index: chrome/browser/translate/translate_manager.cc
|
| diff --git a/chrome/browser/translate/translate_manager.cc b/chrome/browser/translate/translate_manager.cc
|
| index 34f1b6409170c751c3ce120fb5ef29341f59ce78..f24346ce2a71642e0c994af6d055cf9f1e1cd222 100644
|
| --- a/chrome/browser/translate/translate_manager.cc
|
| +++ b/chrome/browser/translate/translate_manager.cc
|
| @@ -594,7 +594,7 @@ void TranslateManager::ReportLanguageDetectionError(TabContents* tab_contents) {
|
| GetLanguageCode(g_browser_process->GetApplicationLocale());
|
| // Open that URL in a new tab so that the user can tell us more.
|
| Browser* browser = BrowserList::GetLastActiveWithProfile(
|
| - tab_contents->profile());
|
| + static_cast<Profile*>(tab_contents->browser_context()));
|
| if (!browser) {
|
| NOTREACHED();
|
| return;
|
|
|