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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerFactory.h

Issue 1497683002: Make platform/graphics to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: third_party/WebKit/Source/platform/graphics/GraphicsLayerFactory.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerFactory.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayerFactory.h
index 923bdc0fb03b5b4f875ad430e0492c532f9582c8..8fb6c6b106628f48cce021cea3485930de3b082c 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerFactory.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerFactory.h
@@ -27,7 +27,9 @@
#define GraphicsLayerFactory_h
#include "platform/PlatformExport.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
+#include "wtf/Noncopyable.h"
namespace blink {
@@ -35,7 +37,10 @@ class GraphicsLayer;
class GraphicsLayerClient;
class PLATFORM_EXPORT GraphicsLayerFactory {
+ USING_FAST_MALLOC(GraphicsLayerFactory);
+ WTF_MAKE_NONCOPYABLE(GraphicsLayerFactory);
public:
+ GraphicsLayerFactory() { }
virtual ~GraphicsLayerFactory() { }
virtual PassOwnPtr<GraphicsLayer> createGraphicsLayer(GraphicsLayerClient*) = 0;

Powered by Google App Engine
This is Rietveld 408576698