Index: ui/ozone/platform/dri/gbm_surface.h |
diff --git a/ui/ozone/platform/dri/gbm_surface.h b/ui/ozone/platform/dri/gbm_surface.h |
index 8b8dffcad8a88fb71ee98dde4c5e4ea90ee71f98..c9472b53698333415a92c42a1c79406e2295d5e9 100644 |
--- a/ui/ozone/platform/dri/gbm_surface.h |
+++ b/ui/ozone/platform/dri/gbm_surface.h |
@@ -38,6 +38,8 @@ class GbmSurface : public ScanoutSurface { |
gbm_surface* native_surface() { return native_surface_; }; |
private: |
+ class GbmSurfaceBuffer; |
alexst (slow to review)
2014/07/18 21:11:31
I would prefer you declared it here fully, it shou
dnicoara
2014/07/18 21:48:28
Done.
|
+ |
gbm_device* gbm_device_; |
DriWrapper* dri_; |
@@ -49,7 +51,7 @@ class GbmSurface : public ScanoutSurface { |
// Backing GBM buffers. One is the current front buffer. The other is the |
// current backbuffer that is pending scan out. |
- gbm_bo* buffers_[2]; |
+ scoped_refptr<GbmSurfaceBuffer> buffers_[2]; |
// Index to the front buffer. |
int front_buffer_; |