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

Unified Diff: Source/core/paint/DeprecatedPaintLayerFilterInfo.h

Issue 1319893002: Make classes and structures in core/paint 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/paint/DeprecatedPaintLayerClipper.h ('k') | Source/core/paint/DeprecatedPaintLayerFragment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayerFilterInfo.h
diff --git a/Source/core/paint/DeprecatedPaintLayerFilterInfo.h b/Source/core/paint/DeprecatedPaintLayerFilterInfo.h
index 4bb346e84b57b0b754a221edae43fc2dc864da2d..244ce67177a312fbc736de3aa2149ccd8aa8b55d 100644
--- a/Source/core/paint/DeprecatedPaintLayerFilterInfo.h
+++ b/Source/core/paint/DeprecatedPaintLayerFilterInfo.h
@@ -35,6 +35,7 @@
#include "platform/geometry/LayoutRect.h"
#include "platform/graphics/filters/FilterOperation.h"
#include "wtf/HashMap.h"
+#include "wtf/Noncopyable.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -48,6 +49,8 @@ class DeprecatedPaintLayerFilterInfo;
typedef HashMap<const DeprecatedPaintLayer*, DeprecatedPaintLayerFilterInfo*> DeprecatedPaintLayerFilterInfoMap;
class DeprecatedPaintLayerFilterInfo final : public DocumentResourceClient {
+ WTF_MAKE_FAST_ALLOCATED(DeprecatedPaintLayerFilterInfo);
haraken 2015/08/27 09:02:49 Just to confirm: You don't want to add this to the
tasak 2015/08/28 03:58:36 Right. DocumentResourceClient is one of difficult
+ WTF_MAKE_NONCOPYABLE(DeprecatedPaintLayerFilterInfo);
public:
static DeprecatedPaintLayerFilterInfo* filterInfoForLayer(const DeprecatedPaintLayer*);
static DeprecatedPaintLayerFilterInfo* createFilterInfoForLayerIfNeeded(DeprecatedPaintLayer*);
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerClipper.h ('k') | Source/core/paint/DeprecatedPaintLayerFragment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698