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

Unified Diff: Source/core/style/DataRef.h

Issue 1308633005: Make classes and structures in core/style, core/plugins and core/streams 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/style/CounterDirectives.h ('k') | Source/core/style/FillLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/DataRef.h
diff --git a/Source/core/style/DataRef.h b/Source/core/style/DataRef.h
index f031f3d3a7b19b904e4b6abda7857b651176c8b1..0804878bdfd22992ecf51f668f04f60749812be1 100644
--- a/Source/core/style/DataRef.h
+++ b/Source/core/style/DataRef.h
@@ -24,11 +24,13 @@
#ifndef DataRef_h
#define DataRef_h
+#include "wtf/FastAllocBase.h"
#include "wtf/RefPtr.h"
namespace blink {
template <typename T> class DataRef {
+ WTF_MAKE_FAST_ALLOCATED(DataRef);
public:
const T* get() const { return m_data.get(); }
« no previous file with comments | « Source/core/style/CounterDirectives.h ('k') | Source/core/style/FillLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698