Index: third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.h |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.h b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.h |
index 934fa878d1495d2bdb7cbf4fcaf77b872ec62c8d..40c4bef8a48d99eb7dda25eb4e75be3a5c7edfda 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.h |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.h |
@@ -6,7 +6,9 @@ |
#define SharedContextRateLimiter_h |
#include "public/platform/WebGraphicsContext3D.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Deque.h" |
+#include "wtf/Noncopyable.h" |
#include "wtf/OwnPtr.h" |
namespace blink { |
@@ -33,7 +35,9 @@ class WebGraphicsContext3DProvider; |
// and later restored, the existing rate limiter must be destroyed and |
// a new one created. |
-class SharedContextRateLimiter { |
+class SharedContextRateLimiter final { |
+ USING_FAST_MALLOC(SharedContextRateLimiter); |
+ WTF_MAKE_NONCOPYABLE(SharedContextRateLimiter); |
public: |
static PassOwnPtr<SharedContextRateLimiter> create(unsigned maxPendingTicks); |
void tick(); |