Commit 38c8775d authored by Maksim Sisov's avatar Maksim Sisov Committed by Commit Bot

X11: gpu_channel_unittest: remove USE_X11

SurfaceHandle is of the same type as ozone now. Remove
the USE_X11 section now.

Change-Id: Ic69a251a5bc5214b3c00f39446d430e74253692d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315344Reviewed-by: default avatarPeng Huang <penghuang@chromium.org>
Commit-Queue: Maksim Sisov (GMT+3) <msisov@igalia.com>
Cr-Commit-Position: refs/heads/master@{#791238}
parent 00952e6e
...@@ -21,8 +21,6 @@ class GpuChannelTest : public GpuChannelTestCommon { ...@@ -21,8 +21,6 @@ class GpuChannelTest : public GpuChannelTestCommon {
#if defined(OS_WIN) #if defined(OS_WIN)
const SurfaceHandle kFakeSurfaceHandle = reinterpret_cast<SurfaceHandle>(1); const SurfaceHandle kFakeSurfaceHandle = reinterpret_cast<SurfaceHandle>(1);
#elif defined(USE_X11)
const SurfaceHandle kFakeSurfaceHandle = static_cast<SurfaceHandle>(1);
#else #else
const SurfaceHandle kFakeSurfaceHandle = 1; const SurfaceHandle kFakeSurfaceHandle = 1;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment