summaryrefslogtreecommitdiffstats
path: root/extensions/utility
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/utility')
-rw-r--r--extensions/utility/unpacker.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/utility/unpacker.cc b/extensions/utility/unpacker.cc
index be0a4b5..c230f82 100644
--- a/extensions/utility/unpacker.cc
+++ b/extensions/utility/unpacker.cc
@@ -187,8 +187,9 @@ bool Unpacker::Run() {
// Decode any images that the browser needs to display.
std::set<base::FilePath> image_paths =
ExtensionsClient::Get()->GetBrowserImagePaths(extension.get());
- for (const base::FilePath& path : image_paths) {
- if (!AddDecodedImage(path))
+ for (std::set<base::FilePath>::iterator it = image_paths.begin();
+ it != image_paths.end(); ++it) {
+ if (!AddDecodedImage(*it))
return false; // Error was already reported.
}