| Index: ui/gfx/native_pixmap_handle.cc
|
| diff --git a/ui/gfx/native_pixmap_handle.cc b/ui/gfx/native_pixmap_handle.cc
|
| index a3092b265a834176575d61bfa38cf138badbf960..f0144a84c02a2e4b0baf9b4b6b1ee28f620fdd4a 100644
|
| --- a/ui/gfx/native_pixmap_handle.cc
|
| +++ b/ui/gfx/native_pixmap_handle.cc
|
| @@ -2,14 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "ui/gfx/native_pixmap_handle.h"
|
|
|
| namespace gfx {
|
|
|
| -NativePixmapPlane::NativePixmapPlane() : stride(0), offset(0), modifier(0) {}
|
| +NativePixmapPlane::NativePixmapPlane()
|
| + : stride(0), offset(0), size(0), modifier(0) {}
|
|
|
| -NativePixmapPlane::NativePixmapPlane(int stride, int offset, uint64_t modifier)
|
| - : stride(stride), offset(offset), modifier(modifier) {}
|
| +NativePixmapPlane::NativePixmapPlane(int stride,
|
| + int offset,
|
| + uint64_t size,
|
| + uint64_t modifier)
|
| + : stride(stride), offset(offset), size(size), modifier(modifier) {}
|
|
|
| NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default;
|
|
|
|
|