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

Unified Diff: services/ui/common/gpu_type_converters_unittest.cc

Issue 2298353002: gfx: Use unsigned strides for gpu memory buffers. (Closed)
Patch Set: . Created 4 years, 4 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
Index: services/ui/common/gpu_type_converters_unittest.cc
diff --git a/services/ui/common/gpu_type_converters_unittest.cc b/services/ui/common/gpu_type_converters_unittest.cc
index 662186f266ba9159380ea8d0170b205da8c3cf7e..768282cb41ee68c8be436a10b07bcce0aef9eff8 100644
--- a/services/ui/common/gpu_type_converters_unittest.cc
+++ b/services/ui/common/gpu_type_converters_unittest.cc
@@ -16,7 +16,7 @@
TEST(MusGpuTypeConvertersTest, GpuMemoryBufferHandle) {
const gfx::GpuMemoryBufferId kId(99);
const uint32_t kOffset = 126;
- const int32_t kStride = 256;
+ const uint32_t kStride = 256;
base::SharedMemory shared_memory;
ASSERT_TRUE(shared_memory.CreateAnonymous(1024));
ASSERT_TRUE(shared_memory.Map(1024));
« no previous file with comments | « media/renderers/mock_gpu_video_accelerator_factories.cc ('k') | services/ui/public/cpp/mojo_gpu_memory_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698