Commit 44771099 by Jamie Madill

Make OSWindow destructor virtual.

BUG=angle:734 Change-Id: I6deb639abc26a314dd890189613e0a3a2e1be1d2 Reviewed-on: https://chromium-review.googlesource.com/214714Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarBrandon Jones <bajones@chromium.org>
parent d8d72434
...@@ -12,6 +12,9 @@ OSWindow::OSWindow() ...@@ -12,6 +12,9 @@ OSWindow::OSWindow()
{ {
} }
OSWindow::~OSWindow()
{}
int OSWindow::getWidth() const int OSWindow::getWidth() const
{ {
return mWidth; return mWidth;
......
...@@ -17,6 +17,7 @@ class OSWindow ...@@ -17,6 +17,7 @@ class OSWindow
{ {
public: public:
OSWindow(); OSWindow();
virtual ~OSWindow();
virtual bool initialize(const std::string &name, size_t width, size_t height) = 0; virtual bool initialize(const std::string &name, size_t width, size_t height) = 0;
virtual void destroy() = 0; virtual void destroy() = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment