| Index: chrome/browser/ui/search/instant_controller.cc
|
| diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc
|
| index eb94fc8076c00e7739eaf80a01ac3bd437bce893..d78f6440e388e439742baaca5093839fa7121a39 100644
|
| --- a/chrome/browser/ui/search/instant_controller.cc
|
| +++ b/chrome/browser/ui/search/instant_controller.cc
|
| @@ -7,7 +7,10 @@
|
| #include <stddef.h>
|
| #include <utility>
|
|
|
| +#include "base/location.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/stringprintf.h"
|
| +#include "base/threading/thread_task_runner_handle.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -150,7 +153,8 @@ void InstantController::InstantSupportDetermined(
|
| DCHECK(IsContentsFrom(instant_tab(), contents));
|
|
|
| if (!supports_instant)
|
| - base::MessageLoop::current()->DeleteSoon(FROM_HERE, instant_tab_.release());
|
| + base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE,
|
| + instant_tab_.release());
|
|
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_INSTANT_TAB_SUPPORT_DETERMINED,
|
|
|