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

Unified Diff: components/display_compositor/buffer_queue_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: components/display_compositor/buffer_queue_unittest.cc
diff --git a/components/display_compositor/buffer_queue_unittest.cc b/components/display_compositor/buffer_queue_unittest.cc
index 17ef79b0a8c3ccf4815ea7187d6e67d880a74ccd..52121a2c1d2dccca282c6b703a6e84c47731d2f3 100644
--- a/components/display_compositor/buffer_queue_unittest.cc
+++ b/components/display_compositor/buffer_queue_unittest.cc
@@ -41,7 +41,7 @@ class StubGpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
gfx::BufferFormat GetFormat() const override {
return gfx::BufferFormat::BGRX_8888;
}
- int stride(size_t plane) const override { return 0; }
+ uint32_t stride(size_t plane) const override { return 0u; }
gfx::GpuMemoryBufferId GetId() const override {
return gfx::GpuMemoryBufferId(0);
}
« no previous file with comments | « cc/test/test_gpu_memory_buffer_manager.cc ('k') | content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698