Index: ui/ozone/platform/dri/dri_buffer.h |
diff --git a/ui/ozone/platform/dri/dri_buffer.h b/ui/ozone/platform/dri/dri_buffer.h |
index 072e007fcf8db53682e8f3f6c47aaeb1edc93c71..342f6a6085d42310252e0f4766bb92602c291f11 100644 |
--- a/ui/ozone/platform/dri/dri_buffer.h |
+++ b/ui/ozone/platform/dri/dri_buffer.h |
@@ -21,7 +21,7 @@ class DriWrapper; |
class DriBuffer { |
public: |
DriBuffer(DriWrapper* dri); |
- virtual ~DriBuffer(); |
+ ~DriBuffer(); |
uint32_t stride() const { return stride_; } |
uint32_t handle() const { return handle_; } |
@@ -30,9 +30,9 @@ class DriBuffer { |
// Allocates the backing pixels and wraps them in |surface_|. |info| is used |
// to describe the buffer characteristics (size, color format). |
- virtual bool Initialize(const SkImageInfo& info); |
+ bool Initialize(const SkImageInfo& info); |
- protected: |
+ private: |
DriWrapper* dri_; // Not owned. |
// Wrapper around the native pixel memory. |