| Index: content/common/gpu/gpu_channel_unittest.cc
|
| diff --git a/content/common/gpu/gpu_channel_unittest.cc b/content/common/gpu/gpu_channel_unittest.cc
|
| index 719d5479f2d258f2e05e316b3ff1a7d023a0c8ab..f2522529922feb06e419df00021cb0192b3f07c0 100644
|
| --- a/content/common/gpu/gpu_channel_unittest.cc
|
| +++ b/content/common/gpu/gpu_channel_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include <stdint.h>
|
|
|
| #include "base/test/test_simple_task_runner.h"
|
| +#include "content/common/gpu/establish_channel_params.h"
|
| #include "content/common/gpu/gpu_channel.h"
|
| #include "content/common/gpu/gpu_channel_manager.h"
|
| #include "content/common/gpu/gpu_channel_test_common.h"
|
| @@ -23,14 +24,13 @@ class GpuChannelTest : public GpuChannelTestCommon {
|
| bool allow_real_time_streams) {
|
| DCHECK(channel_manager());
|
| uint64_t kClientTracingId = 1;
|
| - GpuMsg_EstablishChannel_Params params;
|
| + EstablishChannelParams params;
|
| params.client_id = client_id;
|
| params.client_tracing_id = kClientTracingId;
|
| params.preempts = false;
|
| params.allow_view_command_buffers = allow_view_command_buffers;
|
| params.allow_real_time_streams = allow_real_time_streams;
|
| - EXPECT_TRUE(
|
| - channel_manager()->OnMessageReceived(GpuMsg_EstablishChannel(params)));
|
| + channel_manager()->EstablishChannel(params);
|
| sink()->ClearMessages();
|
| return channel_manager()->LookupChannel(client_id);
|
| }
|
|
|