Chromium Code Reviews| Index: content/common/gpu/media/va_surface.h |
| diff --git a/content/common/gpu/media/va_surface.h b/content/common/gpu/media/va_surface.h |
| index c76c11fea28f35e9779fe6fd1199703694829d3d..9ab990dccfe8f62e0cc423396fa74731f94ae681 100644 |
| --- a/content/common/gpu/media/va_surface.h |
| +++ b/content/common/gpu/media/va_surface.h |
| @@ -90,6 +90,7 @@ class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> { |
| VASurface(VASurfaceID va_surface_id, |
| const gfx::Size& size, |
| + const unsigned int format, |
| const ReleaseCB& release_cb); |
| VASurfaceID id() { |
| @@ -97,6 +98,7 @@ class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> { |
| } |
| const gfx::Size& size() const { return size_; } |
| + const unsigned int GetVAFormat() const { return format_; } |
|
Pawel Osciak
2015/11/05 10:23:51
The coding style is to call getters the same as th
william.xie1
2015/11/06 06:56:14
Done.
|
| private: |
| friend class base::RefCountedThreadSafe<VASurface>; |
| @@ -104,6 +106,7 @@ class CONTENT_EXPORT VASurface : public base::RefCountedThreadSafe<VASurface> { |
| const VASurfaceID va_surface_id_; |
| gfx::Size size_; |
| + unsigned int format_; |
| ReleaseCB release_cb_; |
| DISALLOW_COPY_AND_ASSIGN(VASurface); |