| Index: content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm b/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm
|
| index 2fa64bc9b19a09ef933e6eb29e84477d7050e63b..7846fc8d4889c7827afe7846d23433cffb1e99a6 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm
|
| +++ b/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper_unittest.mm
|
| @@ -9,8 +9,7 @@
|
| #include <stdint.h>
|
|
|
| #include "base/mac/scoped_nsautorelease_pool.h"
|
| -#include "base/message_loop/message_loop.h"
|
| -#include "base/test/scoped_task_scheduler.h"
|
| +#include "base/test/scoped_task_environment.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "content/browser/compositor/test/no_transport_image_transport_factory.h"
|
| #include "content/browser/gpu/compositor_util.h"
|
| @@ -132,8 +131,7 @@ TEST_F(RenderWidgetHostViewMacEditCommandHelperTest,
|
| ui::test::ScopedSetSupportedScaleFactors scoped_supported(supported_factors);
|
|
|
| base::mac::ScopedNSAutoreleasePool pool;
|
| - base::MessageLoop message_loop;
|
| - base::test::ScopedTaskScheduler task_scheduler(&message_loop);
|
| + base::test::ScopedTaskEnvironment scoped_task_environment_;
|
|
|
| int32_t routing_id = process_host->GetNextRoutingID();
|
| RenderWidgetHostEditCommandCounter* render_widget =
|
|
|