| Index: ui/gfx/native_pixmap_handle.h
|
| diff --git a/ui/gfx/native_pixmap_handle.h b/ui/gfx/native_pixmap_handle.h
|
| index ceb5242379fe57a5107d4e2d1e49cd918b2497a7..767951b7cb1f44a6ebbceb30c9ec490d34504de4 100644
|
| --- a/ui/gfx/native_pixmap_handle.h
|
| +++ b/ui/gfx/native_pixmap_handle.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef UI_GFX_NATIVE_PIXMAP_HANDLE_H_
|
| #define UI_GFX_NATIVE_PIXMAP_HANDLE_H_
|
|
|
| -#include <stddef.h>
|
| +#include <stdint.h>
|
| #include <vector>
|
|
|
| #include "ui/gfx/gfx_export.h"
|
| @@ -20,7 +20,7 @@
|
| // buffer. More fields can be added if they are plane specific.
|
| struct GFX_EXPORT NativePixmapPlane {
|
| NativePixmapPlane();
|
| - NativePixmapPlane(int stride, int offset, size_t size, uint64_t modifier);
|
| + NativePixmapPlane(int stride, int offset, uint64_t modifier);
|
| NativePixmapPlane(const NativePixmapPlane& other);
|
| ~NativePixmapPlane();
|
|
|
| @@ -28,9 +28,6 @@
|
| // a memory mapping. One per plane per entry.
|
| int stride;
|
| int offset;
|
| - // Size in bytes of the plane.
|
| - // This is necessary to map the buffers.
|
| - size_t size;
|
| // The modifier is retrieved from GBM library and passed to EGL driver.
|
| // Generally it's platform specific, and we don't need to modify it in
|
| // Chromium code. Also one per plane per entry.
|
|
|