Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index dc26f478f6dc8513e3140a3b822d5d5f20aad3ab..6e5f772ac5fcceb4a65c9c3a7ae8561300f5bb98 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -1621,8 +1621,9 @@ void TabsDetectLanguageFunction::Observe( |
const content::NotificationDetails& details) { |
std::string language; |
if (type == chrome::NOTIFICATION_TAB_LANGUAGE_DETERMINED) { |
- const LanguageDetectionDetails* lang_det_details = |
- content::Details<const LanguageDetectionDetails>(details).ptr(); |
+ const translate::LanguageDetectionDetails* lang_det_details = |
+ content::Details<const translate::LanguageDetectionDetails>(details) |
+ .ptr(); |
language = lang_det_details->adopted_language; |
} |