Update to API changes of Chrome 51

This commit is contained in:
Cheng Zhao 2016-05-23 10:59:39 +09:00
parent 05c2999651
commit 7ba391da7c
87 changed files with 225 additions and 231 deletions

View file

@ -134,7 +134,7 @@ class FileDialog {
GetPtr()->SetFolder(folder_item);
}
scoped_ptr<T> dialog_;
std::unique_ptr<T> dialog_;
DISALLOW_COPY_AND_ASSIGN(FileDialog);
};
@ -145,7 +145,7 @@ struct RunState {
};
bool CreateDialogThread(RunState* run_state) {
scoped_ptr<base::Thread> thread(
std::unique_ptr<base::Thread> thread(
new base::Thread(ATOM_PRODUCT_NAME "FileDialogThread"));
thread->init_com_with_mta(false);
if (!thread->Start())