summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_unpacker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/extension_unpacker.cc')
-rw-r--r--chrome/common/extensions/extension_unpacker.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/common/extensions/extension_unpacker.cc b/chrome/common/extensions/extension_unpacker.cc
index 3f718c9..e270870 100644
--- a/chrome/common/extensions/extension_unpacker.cc
+++ b/chrome/common/extensions/extension_unpacker.cc
@@ -289,10 +289,11 @@ bool ExtensionUnpacker::ReadMessageCatalog(const FilePath& message_path) {
std::string messages_file = WideToASCII(message_path.ToWStringHack());
if (error.empty()) {
// If file is missing, Deserialize will fail with empty error.
- SetError(StringPrintf("%s %s", errors::kLocalesMessagesFileMissing,
- messages_file.c_str()));
+ SetError(base::StringPrintf("%s %s", errors::kLocalesMessagesFileMissing,
+ messages_file.c_str()));
} else {
- SetError(StringPrintf("%s: %s", messages_file.c_str(), error.c_str()));
+ SetError(base::StringPrintf("%s: %s", messages_file.c_str(),
+ error.c_str()));
}
return false;
}