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

Unified Diff: ui/shell_dialogs/select_file_dialog_win.cc

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell_dialogs/select_file_dialog_win.cc
diff --git a/ui/shell_dialogs/select_file_dialog_win.cc b/ui/shell_dialogs/select_file_dialog_win.cc
index 2ada0ce1f69b2227e35bf2b8e523101b119597c4..bf0d30b085f9d4cb792591d3ff7f69301dcf06aa 100644
--- a/ui/shell_dialogs/select_file_dialog_win.cc
+++ b/ui/shell_dialogs/select_file_dialog_win.cc
@@ -514,12 +514,12 @@ bool SelectFileDialogImpl::SaveFileAsWithFilter(
// Figure out what filter got selected. The filter index is 1-based.
std::wstring filter_selected;
if (*index > 0) {
- std::vector<Tuple<base::string16, base::string16>> filters =
+ std::vector<base::Tuple<base::string16, base::string16>> filters =
ui::win::OpenFileName::GetFilters(save_as.GetOPENFILENAME());
if (*index > filters.size())
NOTREACHED() << "Invalid filter index.";
else
- filter_selected = get<1>(filters[*index - 1]);
+ filter_selected = base::get<1>(filters[*index - 1]);
}
// Get the extension that was suggested to the user (when the Save As dialog
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698