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. |