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

Unified Diff: content/common/gpu/gpu_channel_unittest.cc

Issue 1823723002: Move establish_channel_params.{cc|h} to content/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « content/common/gpu/gpu_channel_manager_unittest.cc ('k') | content/common/gpu/gpu_memory_uma_stats.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1705af4761fd4324456a940fafff61bedbbe4c82..d1e19299676a5d69b11aaf170687fe6efc2d4815 100644
--- a/content/common/gpu/gpu_channel_unittest.cc
+++ b/content/common/gpu/gpu_channel_unittest.cc
@@ -5,7 +5,6 @@
#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"
@@ -24,13 +23,9 @@ class GpuChannelTest : public GpuChannelTestCommon {
bool allow_real_time_streams) {
DCHECK(channel_manager());
uint64_t kClientTracingId = 1;
- 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;
- channel_manager()->EstablishChannel(params);
+ channel_manager()->EstablishChannel(
+ client_id, kClientTracingId, false /* preempts */,
+ allow_view_command_buffers, allow_real_time_streams);
return channel_manager()->LookupChannel(client_id);
}
« no previous file with comments | « content/common/gpu/gpu_channel_manager_unittest.cc ('k') | content/common/gpu/gpu_memory_uma_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698