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

Unified Diff: ui/gfx/native_pixmap_handle_ozone.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
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.h ('k') | ui/ozone/platform/cast/client_native_pixmap_factory_cast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_pixmap_handle_ozone.cc
diff --git a/ui/gfx/native_pixmap_handle_ozone.cc b/ui/gfx/native_pixmap_handle_ozone.cc
index 8bd17bcb6ac62f8c6480ccea73fe40c584061d4c..44b8955628a93f49200ac51cd710aa565abcf1c0 100644
--- a/ui/gfx/native_pixmap_handle_ozone.cc
+++ b/ui/gfx/native_pixmap_handle_ozone.cc
@@ -8,7 +8,9 @@ namespace gfx {
NativePixmapPlane::NativePixmapPlane() : stride(0), offset(0), modifier(0) {}
-NativePixmapPlane::NativePixmapPlane(int stride, int offset, uint64_t modifier)
+NativePixmapPlane::NativePixmapPlane(uint32_t stride,
+ uint32_t offset,
+ uint64_t modifier)
: stride(stride), offset(offset), modifier(modifier) {}
NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default;
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.h ('k') | ui/ozone/platform/cast/client_native_pixmap_factory_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698