| Index: ui/ozone/public/native_pixmap.h
|
| diff --git a/ui/ozone/public/native_pixmap.h b/ui/ozone/public/native_pixmap.h
|
| index a472fb55257f2913ac2240dce33a35b2b2203e0f..cc207f66556489b5677c5e1c427d814fa0a53c2b 100644
|
| --- a/ui/ozone/public/native_pixmap.h
|
| +++ b/ui/ozone/public/native_pixmap.h
|
| @@ -28,6 +28,7 @@ class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> {
|
| virtual int GetDmaBufFd() = 0;
|
| virtual int GetDmaBufPitch() = 0;
|
| virtual gfx::BufferFormat GetBufferFormat() = 0;
|
| + virtual gfx::Size size() const = 0;
|
|
|
| // Sets the overlay plane to switch to at the next page flip.
|
| // |w| specifies the screen to display this overlay plane on.
|
| @@ -49,9 +50,10 @@ class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> {
|
| // This represents a callback function pointing to processing unit like VPP to
|
| // do post-processing operations on native pixmap with required size and
|
| // format.
|
| - typedef base::Callback<scoped_refptr<NativePixmap>(gfx::Size,
|
| - gfx::BufferFormat)>
|
| - ProcessingCallback;
|
| + typedef base::Callback<scoped_refptr<NativePixmap>(
|
| + const scoped_refptr<NativePixmap>&,
|
| + const gfx::Size&,
|
| + gfx::BufferFormat)> ProcessingCallback;
|
|
|
| // Set callback function for the pixmap used for post processing.
|
| virtual void SetProcessingCallback(
|
|
|