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