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

Unified Diff: Source/modules/canvas2d/EventHitRegion.h

Issue 1315743003: [part 1] Make classes and structures in modules/ fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | « Source/modules/canvas2d/ClipList.h ('k') | Source/modules/canvas2d/MouseEventHitRegion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/canvas2d/EventHitRegion.h
diff --git a/Source/modules/canvas2d/EventHitRegion.h b/Source/modules/canvas2d/EventHitRegion.h
index 0ae7efad8bdca81a13709398bba04c552635909d..336ee7c9243c30dc679b205c6921eef0911c8faf 100644
--- a/Source/modules/canvas2d/EventHitRegion.h
+++ b/Source/modules/canvas2d/EventHitRegion.h
@@ -5,6 +5,7 @@
#ifndef EventHitRegion_h
#define EventHitRegion_h
+#include "wtf/Allocator.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -13,6 +14,7 @@ class HTMLCanvasElement;
class LayoutPoint;
class EventHitRegion {
+ STATIC_ONLY(EventHitRegion);
public:
static String regionIdFromAbsoluteLocation(HTMLCanvasElement&, const LayoutPoint&);
};
« no previous file with comments | « Source/modules/canvas2d/ClipList.h ('k') | Source/modules/canvas2d/MouseEventHitRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698