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

Unified Diff: Source/web/PageOverlay.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/OpenedFrameTracker.h ('k') | Source/web/PageWidgetDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageOverlay.h
diff --git a/Source/web/PageOverlay.h b/Source/web/PageOverlay.h
index f66f03dab0a0e56653a533462622ac8b24313093..695ffb7659cea788095caae8e3934badb46b6a2f 100644
--- a/Source/web/PageOverlay.h
+++ b/Source/web/PageOverlay.h
@@ -32,6 +32,7 @@
#include "platform/graphics/GraphicsLayer.h"
#include "platform/graphics/GraphicsLayerClient.h"
#include "platform/graphics/paint/DisplayItemClient.h"
+#include "wtf/FastAllocBase.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/text/WTFString.h"
@@ -49,6 +50,7 @@ class WebGraphicsContext;
// With Slimming Paint, internal clients can extract a GraphicsContext to add
// to the DisplayItemList owned by the GraphicsLayer
class PageOverlay : public GraphicsLayerClient {
+ WTF_MAKE_FAST_ALLOCATED(PageOverlay);
public:
class Delegate : public GarbageCollectedFinalized<Delegate> {
public:
« no previous file with comments | « Source/web/OpenedFrameTracker.h ('k') | Source/web/PageWidgetDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698