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

Unified Diff: Source/core/dom/SuspendableTask.h

Issue 1304043002: Make classes and structures in core/dom 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
« no previous file with comments | « Source/core/dom/StyleEngine.h ('k') | Source/core/dom/TextLinkColors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SuspendableTask.h
diff --git a/Source/core/dom/SuspendableTask.h b/Source/core/dom/SuspendableTask.h
index 22cfda3a987dc723fa3cf5894627b6d88ac51368..f547d03fa4580daf9bc0efc67636d30a986b9296 100644
--- a/Source/core/dom/SuspendableTask.h
+++ b/Source/core/dom/SuspendableTask.h
@@ -5,9 +5,12 @@
#ifndef SuspendableTask_h
#define SuspendableTask_h
+#include "wtf/Allocator.h"
+
namespace blink {
class SuspendableTask {
+ WTF_MAKE_FAST_ALLOCATED(SuspendableTask);
public:
SuspendableTask() { }
virtual void run() = 0;
« no previous file with comments | « Source/core/dom/StyleEngine.h ('k') | Source/core/dom/TextLinkColors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698