| Index: chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| diff --git a/chrome/browser/extensions/api/identity/web_auth_flow.cc b/chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| index d8092c701fc7d1d8d232fdf4467af3d4eb41f78d..4cfd841a6e979e0548a81a0a28c4a7711852f4f1 100644
|
| --- a/chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| +++ b/chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| @@ -8,9 +8,10 @@
|
|
|
| #include "base/base64.h"
|
| #include "base/location.h"
|
| -#include "base/message_loop/message_loop.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "base/trace_event/trace_event.h"
|
| #include "chrome/browser/extensions/component_loader.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| @@ -110,7 +111,7 @@ void WebAuthFlow::Start() {
|
|
|
| void WebAuthFlow::DetachDelegateAndDelete() {
|
| delegate_ = NULL;
|
| - base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
|
| + base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this);
|
| }
|
|
|
| void WebAuthFlow::OnAppWindowAdded(AppWindow* app_window) {
|
|
|