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 9fb95b9c421b5ecc52be8314ba3682e2b2481030..e39eee502e39aa4cc96320cc9984daf5cc8daaff 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -1674,7 +1674,7 @@ void TabsCaptureVisibleTabFunction::OnCaptureSuccess(const SkBitmap& bitmap) { |
return; |
} |
- SetResult(base::MakeUnique<base::StringValue>(base64_result)); |
+ SetResult(base::MakeUnique<base::Value>(base64_result)); |
SendResponse(true); |
} |
@@ -1784,7 +1784,7 @@ void TabsDetectLanguageFunction::Observe( |
} |
void TabsDetectLanguageFunction::GotLanguage(const std::string& language) { |
- SetResult(base::MakeUnique<base::StringValue>(language.c_str())); |
+ SetResult(base::MakeUnique<base::Value>(language.c_str())); |
SendResponse(true); |
Release(); // Balanced in Run() |