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

Unified Diff: gpu/command_buffer/tests/gl_gpu_memory_buffer_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: gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc b/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc
index 7691e33251c5c47c9e12f8d299aea6c43021fe04..2bc32eca565af8dff82f32343f6b1d6399bd82d0 100644
--- a/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc
+++ b/gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc
@@ -188,7 +188,7 @@ TEST_P(GpuMemoryBufferTest, Lifecycle) {
// Map buffer for writing.
ASSERT_TRUE(buffer->Map());
ASSERT_NE(nullptr, buffer->memory(0));
- ASSERT_NE(0, buffer->stride(0));
+ ASSERT_NE(0u, buffer->stride(0));
uint8_t pixel[] = {255u, 0u, 0u, 255u};
// Assign a value to each pixel.
« no previous file with comments | « content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698