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

Unified Diff: cc/scheduler/rate_limiter.h

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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/scheduler/delay_based_time_source_unittest.cc ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/rate_limiter.h
diff --git a/cc/scheduler/rate_limiter.h b/cc/scheduler/rate_limiter.h
index 522528f191a349b66d1eb5da17fad302b571ba64..0d2de38ebfcc251a6246e3ad4e6ae678379edaae 100644
--- a/cc/scheduler/rate_limiter.h
+++ b/cc/scheduler/rate_limiter.h
@@ -16,6 +16,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
@@ -53,5 +56,6 @@ class RateLimiter : public base::RefCounted<RateLimiter> {
DISALLOW_COPY_AND_ASSIGN(RateLimiter);
};
-}
+} // namespace cc
+
#endif // CC_SCHEDULER_RATE_LIMITER_H_
« no previous file with comments | « cc/scheduler/delay_based_time_source_unittest.cc ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698