| Index: chrome/browser/win/chrome_select_file_dialog_factory.cc
|
| diff --git a/chrome/browser/win/chrome_select_file_dialog_factory.cc b/chrome/browser/win/chrome_select_file_dialog_factory.cc
|
| index 668f30ca4d2aac1621614355f87f6a05fe885d60..87338fe2a0290c1e67a9f6221b9dc94586f06f7f 100644
|
| --- a/chrome/browser/win/chrome_select_file_dialog_factory.cc
|
| +++ b/chrome/browser/win/chrome_select_file_dialog_factory.cc
|
| @@ -117,7 +117,7 @@ void DoInvokeGetOpenFileName(
|
| OPENFILENAME* ofn,
|
| scoped_refptr<GetOpenFileNameClient> client,
|
| const scoped_refptr<base::SequencedTaskRunner>& current_task_runner) {
|
| - DCHECK(current_task_runner->RunsTasksOnCurrentThread());
|
| + DCHECK(current_task_runner->RunsTasksInCurrentSequence());
|
|
|
| base::WeakPtr<content::UtilityProcessHost> utility_process_host(
|
| content::UtilityProcessHost::Create(client, current_task_runner)
|
| @@ -247,7 +247,7 @@ void DoInvokeGetSaveFileName(
|
| OPENFILENAME* ofn,
|
| scoped_refptr<GetSaveFileNameClient> client,
|
| const scoped_refptr<base::SequencedTaskRunner>& current_task_runner) {
|
| - DCHECK(current_task_runner->RunsTasksOnCurrentThread());
|
| + DCHECK(current_task_runner->RunsTasksInCurrentSequence());
|
|
|
| base::WeakPtr<content::UtilityProcessHost> utility_process_host(
|
| content::UtilityProcessHost::Create(client, current_task_runner)
|
|
|