| Index: remoting/client/gl_cursor.h
|
| diff --git a/remoting/client/gl_cursor.h b/remoting/client/gl_cursor.h
|
| index 365b2c23d7bf4242d78cdf295243c0c5fed58067..8b6d408eea25763026baa81f4b4588f97f4a8419 100644
|
| --- a/remoting/client/gl_cursor.h
|
| +++ b/remoting/client/gl_cursor.h
|
| @@ -10,6 +10,7 @@
|
| #include <memory>
|
|
|
| #include "base/macros.h"
|
| +#include "remoting/client/gl_drawable.h"
|
|
|
| namespace remoting {
|
|
|
| @@ -21,10 +22,10 @@ class GlCanvas;
|
| class GlRenderLayer;
|
|
|
| // This class draws the cursor on the canvas.
|
| -class GlCursor {
|
| +class GlCursor : public GlDrawable {
|
| public:
|
| GlCursor();
|
| - ~GlCursor();
|
| + ~GlCursor() override;
|
|
|
| void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape);
|
|
|
| @@ -38,9 +39,9 @@ class GlCursor {
|
| // Sets the canvas on which the cursor will be drawn. Resumes the current
|
| // state of the cursor to the context of the new canvas.
|
| // If |canvas| is nullptr, nothing will happen when calling Draw().
|
| - void SetCanvas(GlCanvas* canvas);
|
| + void SetCanvas(GlCanvas* canvas) override;
|
|
|
| - void Draw();
|
| + void Draw() override;
|
|
|
| private:
|
| void SetCurrentCursorShape(bool size_changed);
|
|
|