| Index: content/browser/plugin_service_impl_browsertest.cc
|
| diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc
|
| index 9c1e9f172fdb4d4dad5c5b2d739aae611cb9a37a..e60516e67e01e8c70de1e5f0cec66b5154998e42 100644
|
| --- a/content/browser/plugin_service_impl_browsertest.cc
|
| +++ b/content/browser/plugin_service_impl_browsertest.cc
|
| @@ -7,10 +7,7 @@
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/command_line.h"
|
| -#include "base/location.h"
|
| #include "base/path_service.h"
|
| -#include "base/single_thread_task_runner.h"
|
| -#include "base/thread_task_runner_handle.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/plugin_service_filter.h"
|
| #include "content/public/browser/resource_context.h"
|
| @@ -264,10 +261,12 @@ class MockCanceledBeforeSentPluginProcessHostClient
|
| set_host(host);
|
| // This gets called right before we request the plugin<=>renderer channel,
|
| // so we have to post a task to cancel it.
|
| - base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| - FROM_HERE, base::Bind(&PluginProcessHost::CancelPendingRequest,
|
| - base::Unretained(host), this));
|
| - base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| + FROM_HERE,
|
| + base::Bind(&PluginProcessHost::CancelPendingRequest,
|
| + base::Unretained(host),
|
| + this));
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE, base::Bind(&QuitUIMessageLoopFromIOThread));
|
| }
|
|
|
|
|