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

Unified Diff: cc/rate_limiter.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 4 Created 7 years, 10 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 | « cc/picture_layer_tiling.h ('k') | cc/video_frame_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/rate_limiter.h
diff --git a/cc/rate_limiter.h b/cc/rate_limiter.h
index df7850dd0bc7e496f2821cf403972ac220b29ab7..6a86dfc2ba77080a35449bac44e8d36f325c072d 100644
--- a/cc/rate_limiter.h
+++ b/cc/rate_limiter.h
@@ -18,6 +18,9 @@ class Thread;
class RateLimiterClient {
public:
virtual void rateLimit() = 0;
+
+protected:
+ virtual ~RateLimiterClient() { }
};
// A RateLimiter can be used to make sure that a single context does not dominate all execution time.
« no previous file with comments | « cc/picture_layer_tiling.h ('k') | cc/video_frame_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698