Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: gpu/ipc/service/gpu_channel_unittest.cc

Issue 2682393003: Change MessageLoop type for GPU tests with Ozone. (Closed)
Patch Set: Fix comment. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/service/BUILD.gn ('k') | gpu/test_message_loop_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel_unittest.cc
diff --git a/gpu/ipc/service/gpu_channel_unittest.cc b/gpu/ipc/service/gpu_channel_unittest.cc
index d8d0bf4b683abad14731b048db1dbfc4cb218aae..8e913f5bd2ed275124dc7549a344d3626db939f6 100644
--- a/gpu/ipc/service/gpu_channel_unittest.cc
+++ b/gpu/ipc/service/gpu_channel_unittest.cc
@@ -10,6 +10,7 @@
#include "gpu/ipc/service/gpu_channel.h"
#include "gpu/ipc/service/gpu_channel_manager.h"
#include "gpu/ipc/service/gpu_channel_test_common.h"
+#include "gpu/test_message_loop_type.h"
#include "ipc/ipc_test_sink.h"
#include "ui/gl/gl_surface_stub.h"
#include "ui/gl/init/gl_factory.h"
@@ -19,7 +20,9 @@ namespace gpu {
class GpuChannelTest : public GpuChannelTestCommon {
public:
- GpuChannelTest() : GpuChannelTestCommon() {}
+ GpuChannelTest()
+ : GpuChannelTestCommon(),
+ message_loop_(test::GetMessageLoopTypeForGpu()) {}
~GpuChannelTest() override {}
void SetUp() override {
« no previous file with comments | « gpu/ipc/service/BUILD.gn ('k') | gpu/test_message_loop_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698