Chromium Code Reviews| 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 d48e36fd7600977a901c3a9c3c761595bdd3555d..46a0f95be5c645e221653bd1b13272c079c1b6d6 100644 |
| --- a/ui/gfx/native_pixmap_handle_ozone.cc |
| +++ b/ui/gfx/native_pixmap_handle_ozone.cc |
| @@ -6,6 +6,15 @@ |
| namespace gfx { |
| +GbmBufferPlane::GbmBufferPlane() {} |
|
Daniele Castagna
2016/06/15 03:50:20
Is it ok not to initialize anything here?
vinceh
2016/06/15 04:35:18
I will initialize all the members as zero.
|
| + |
| +GbmBufferPlane::GbmBufferPlane(int stride, int offset, uint64_t modifier) |
| + : stride(stride), offset(offset), modifier(modifier) {} |
| + |
| +GbmBufferPlane::GbmBufferPlane(const GbmBufferPlane& other) = default; |
| + |
| +GbmBufferPlane::~GbmBufferPlane() {} |
| + |
| NativePixmapHandle::NativePixmapHandle() {} |
| NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) = |
| default; |