<http://webkit.org/b/56381> Objective-C classes should be typedef-ed as structs ...
[WebKit-https.git] / Source / WebCore / platform / graphics / GraphicsLayer.h
index 78c1e75..f534b84 100644 (file)
@@ -50,7 +50,7 @@
 @class CALayer;
 typedef CALayer PlatformLayer;
 #else
-typedef void* PlatformLayer;
+typedef struct CALayer PlatformLayer;
 #endif
 #elif PLATFORM(WIN)
 typedef struct _CACFLayer PlatformLayer;
@@ -148,7 +148,7 @@ private:
 // Used to store a series of values in a keyframe list. Values will all be of the same type,
 // which can be inferred from the property.
 class KeyframeValueList {
-    WTF_MAKE_NONCOPYABLE(KeyframeValueList);
+    WTF_MAKE_NONCOPYABLE(KeyframeValueList); WTF_MAKE_FAST_ALLOCATED;
 public:
 
     KeyframeValueList(AnimatedPropertyID property)
@@ -180,8 +180,8 @@ protected:
 // which may have associated transformation and animations.
 
 class GraphicsLayer {
+    WTF_MAKE_NONCOPYABLE(GraphicsLayer); WTF_MAKE_FAST_ALLOCATED;
 public:
-
     static PassOwnPtr<GraphicsLayer> create(GraphicsLayerClient*);
     
     virtual ~GraphicsLayer();