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

Unified Diff: ui/gfx/compositor/compositor.h

Issue 7974010: compositor: Add protected virtual destructor to CompositorDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/compositor.h
diff --git a/ui/gfx/compositor/compositor.h b/ui/gfx/compositor/compositor.h
index c81752c2e0ff90d070d233e016fa2191739d3636..1874df0dc91de86656c12e30810fa0f418ad096c 100644
--- a/ui/gfx/compositor/compositor.h
+++ b/ui/gfx/compositor/compositor.h
@@ -72,6 +72,9 @@ class COMPOSITOR_EXPORT CompositorDelegate {
public:
// Requests the owner to schedule a paint.
virtual void ScheduleCompositorPaint() = 0;
+
+ protected:
+ virtual ~CompositorDelegate() {}
};
// Compositor object to take care of GPU painting.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698