Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Unified Diff: chrome/browser/extensions/sandboxed_unpacker.cc

Issue 821453003: Update legacy Tuple-using code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/sandboxed_unpacker.cc
diff --git a/chrome/browser/extensions/sandboxed_unpacker.cc b/chrome/browser/extensions/sandboxed_unpacker.cc
index 80797490f634c0b1ec5a1f6c8de9b64127688758..b2c6a3b3a53e3aeae8465af79f609cb002d1385a 100644
--- a/chrome/browser/extensions/sandboxed_unpacker.cc
+++ b/chrome/browser/extensions/sandboxed_unpacker.cc
@@ -712,8 +712,8 @@ bool SandboxedUnpacker::RewriteImageFiles(SkBitmap* install_icon) {
return false;
}
- const SkBitmap& image = images[i].a;
- base::FilePath path_suffix = images[i].b;
+ const SkBitmap& image = get<0>(images[i]);
+ base::FilePath path_suffix = get<1>(images[i]);
if (path_suffix.MaybeAsASCII() == install_icon_path)
*install_icon = image;

Powered by Google App Engine
This is Rietveld 408576698