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

Unified Diff: Source/web/OpenedFrameTracker.h

Issue 1328773002: Make classes and structures in web 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/web/NotificationPermissionClientImpl.h ('k') | Source/web/PageOverlay.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/OpenedFrameTracker.h
diff --git a/Source/web/OpenedFrameTracker.h b/Source/web/OpenedFrameTracker.h
index 1b5bbb6dc1504382e61c8ee10682f7a03d57d31e..2da81804920ec8a0d852cd5b265b2411d6a02ab5 100644
--- a/Source/web/OpenedFrameTracker.h
+++ b/Source/web/OpenedFrameTracker.h
@@ -5,6 +5,7 @@
#ifndef OpenedFrameTracker_h
#define OpenedFrameTracker_h
+#include "wtf/FastAllocBase.h"
#include "wtf/HashSet.h"
#include "wtf/Noncopyable.h"
@@ -18,6 +19,7 @@ class WebFrame;
// Due to layering restrictions, we need to hide the implementation, since
// public/web/ cannot depend on wtf/.
class OpenedFrameTracker {
+ WTF_MAKE_FAST_ALLOCATED(OpenedFrameTracker);
WTF_MAKE_NONCOPYABLE(OpenedFrameTracker);
public:
OpenedFrameTracker();
« no previous file with comments | « Source/web/NotificationPermissionClientImpl.h ('k') | Source/web/PageOverlay.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698