summaryrefslogtreecommitdiff
path: root/chromium/content/browser/host_zoom_map_impl_unittest.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-12-10 16:19:40 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-12-10 16:01:50 +0000
commit51f6c2793adab2d864b3d2b360000ef8db1d3e92 (patch)
tree835b3b4446b012c75e80177cef9fbe6972cc7dbe /chromium/content/browser/host_zoom_map_impl_unittest.cc
parent6036726eb981b6c4b42047513b9d3f4ac865daac (diff)
downloadqtwebengine-chromium-51f6c2793adab2d864b3d2b360000ef8db1d3e92.tar.gz
BASELINE: Update Chromium to 71.0.3578.93
Change-Id: I6a32086c33670e1b033f8b10e6bf1fd4da1d105d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/content/browser/host_zoom_map_impl_unittest.cc')
-rw-r--r--chromium/content/browser/host_zoom_map_impl_unittest.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/chromium/content/browser/host_zoom_map_impl_unittest.cc b/chromium/content/browser/host_zoom_map_impl_unittest.cc
index c6676920158..0e0d2fc630a 100644
--- a/chromium/content/browser/host_zoom_map_impl_unittest.cc
+++ b/chromium/content/browser/host_zoom_map_impl_unittest.cc
@@ -8,7 +8,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/message_loop/message_loop.h"
+#include "base/test/scoped_task_environment.h"
#include "base/test/simple_test_clock.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_browser_thread.h"
@@ -18,11 +18,12 @@ namespace content {
class HostZoomMapTest : public testing::Test {
public:
- HostZoomMapTest() : ui_thread_(BrowserThread::UI, &message_loop_) {
- }
+ HostZoomMapTest()
+ : ui_thread_(BrowserThread::UI,
+ task_environment_.GetMainThreadTaskRunner()) {}
protected:
- base::MessageLoop message_loop_;
+ base::test::ScopedTaskEnvironment task_environment_;
TestBrowserThread ui_thread_;
};