Fix build issues

This commit is contained in:
Ben Gotow 2016-05-15 01:02:27 -05:00
parent 84cce6c2c1
commit 6217d497ed
2 changed files with 13 additions and 8 deletions

View file

@ -180,7 +180,8 @@ void RunSaveDialogInNewThread(const RunState& run_state,
const Filters& filters,
const SaveDialogCallback& callback) {
base::FilePath path;
bool result = ShowSaveDialog(parent, title, default_path, filters, &path);
bool result = ShowSaveDialog(parent, title, button_label, default_path,
filters, &path);
run_state.ui_message_loop->PostTask(FROM_HERE,
base::Bind(callback, result, path));
run_state.ui_message_loop->DeleteSoon(FROM_HERE, run_state.dialog_thread);