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 4624cadde545901b091a6092682275b36ee56aa8..abed28e00398d558fd952157a5be1a580698e0cf 100644 |
--- a/ui/ozone/platform/dri/dri_buffer.h |
+++ b/ui/ozone/platform/dri/dri_buffer.h |
@@ -29,18 +29,11 @@ class OZONE_EXPORT DriBuffer { |
uint32_t framebuffer() const { return framebuffer_; } |
SkCanvas* canvas() { return surface_->getCanvas(); } |
- // Return the color depth of a pixel in this buffer. |
- uint8_t GetColorDepth() const; |
- |
// 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); |
protected: |
- friend class HardwareDisplayController; |
- |
- void set_framebuffer(uint32_t framebuffer) { framebuffer_ = framebuffer; } |
- |
DriWrapper* dri_; // Not owned. |
// Wrapper around the native pixel memory. |