Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: ui/ozone/platform/dri/dri_buffer.h

Issue 402773002: [Ozone-DRI] Removing MockDriSurface implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698