| Index: remoting/client/gl_desktop.h
|
| diff --git a/remoting/client/gl_desktop.h b/remoting/client/gl_desktop.h
|
| index 2c98cd429d27b26181f0e55371c16a736daf3861..5f303939c1f64b7e56f515029f94e05990b6d43c 100644
|
| --- a/remoting/client/gl_desktop.h
|
| +++ b/remoting/client/gl_desktop.h
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| +#include "remoting/client/gl_drawable.h"
|
| #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
|
|
|
| namespace webrtc {
|
| @@ -21,10 +22,10 @@ class GlCanvas;
|
| class GlRenderLayer;
|
|
|
| // This class draws the desktop on the canvas.
|
| -class GlDesktop {
|
| +class GlDesktop : public GlDrawable {
|
| public:
|
| GlDesktop();
|
| - virtual ~GlDesktop();
|
| + ~GlDesktop() override;
|
|
|
| // |frame| can be either a full frame or updated regions only frame.
|
| void SetVideoFrame(const webrtc::DesktopFrame& frame);
|
| @@ -32,10 +33,10 @@ class GlDesktop {
|
| // Sets the canvas on which the desktop will be drawn. Caller must feed a
|
| // full desktop frame after calling this function.
|
| // If |canvas| is nullptr, nothing will happen when calling Draw().
|
| - void SetCanvas(GlCanvas* canvas);
|
| + void SetCanvas(GlCanvas* canvas) override;
|
|
|
| // Draws the desktop on the canvas.
|
| - void Draw();
|
| + void Draw() override;
|
|
|
| private:
|
| struct GlDesktopTextureContainer;
|
|
|