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

Unified Diff: Source/core/events/PointerIdManager.h

Issue 1310643003: Make classes and structures in core/events and core/fetch fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
Index: Source/core/events/PointerIdManager.h
diff --git a/Source/core/events/PointerIdManager.h b/Source/core/events/PointerIdManager.h
index de0462b891d72faecb09e888e14260b3ff12343b..53f860ab7f98f3afcb462eab506da97994973e12 100644
--- a/Source/core/events/PointerIdManager.h
+++ b/Source/core/events/PointerIdManager.h
@@ -5,6 +5,7 @@
#ifndef PointerIdManager_h
#define PointerIdManager_h
+#include "wtf/Allocator.h"
#include "wtf/ListHashSet.h"
namespace blink {
@@ -13,6 +14,7 @@ namespace blink {
Helper class for tracking the primary pointer id for each type of PointerEvents.
*/
class PointerIdManager {
+ DISALLOW_ALLOCATION();
public:
// TODO(mustaq): Move this enum to PointerEvent.h? Change the spec to use enums?
enum PointerType {

Powered by Google App Engine
This is Rietveld 408576698