Commit d0059913 authored by altimin's avatar altimin Committed by Commit bot

Fix non-virtual destructor in DelegatedFrameHostClient

Review-Url: https://codereview.chromium.org/2593603002
Cr-Commit-Position: refs/heads/master@{#439791}
parent 73a71ba1
...@@ -53,6 +53,8 @@ class ResizeLock; ...@@ -53,6 +53,8 @@ class ResizeLock;
// display them. // display them.
class CONTENT_EXPORT DelegatedFrameHostClient { class CONTENT_EXPORT DelegatedFrameHostClient {
public: public:
virtual ~DelegatedFrameHostClient() {}
virtual ui::Layer* DelegatedFrameHostGetLayer() const = 0; virtual ui::Layer* DelegatedFrameHostGetLayer() const = 0;
virtual bool DelegatedFrameHostIsVisible() const = 0; virtual bool DelegatedFrameHostIsVisible() const = 0;
......
...@@ -19,7 +19,7 @@ class CONTENT_EXPORT DelegatedFrameHostClientAura ...@@ -19,7 +19,7 @@ class CONTENT_EXPORT DelegatedFrameHostClientAura
public: public:
explicit DelegatedFrameHostClientAura( explicit DelegatedFrameHostClientAura(
RenderWidgetHostViewAura* render_widget_host_view); RenderWidgetHostViewAura* render_widget_host_view);
virtual ~DelegatedFrameHostClientAura(); ~DelegatedFrameHostClientAura() override;
protected: protected:
RenderWidgetHostViewAura* render_widget_host_view() { RenderWidgetHostViewAura* render_widget_host_view() {
......
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