Index: Source/WebCore/platform/graphics/PlatformLayer.h |
diff --git a/Source/WebCore/platform/graphics/PlatformLayer.h b/Source/WebCore/platform/graphics/PlatformLayer.h |
index 0097e8f9cadee1d6fee2afc448773a05a59f9930..98406fc967d64e43c2da6abbfb35b48530fef5b4 100644 |
--- a/Source/WebCore/platform/graphics/PlatformLayer.h |
+++ b/Source/WebCore/platform/graphics/PlatformLayer.h |
@@ -26,45 +26,15 @@ |
#ifndef PlatformLayer_h |
#define PlatformLayer_h |
+// FIXME: this file should go away. |
#if USE(ACCELERATED_COMPOSITING) |
-#if PLATFORM(MAC) |
-OBJC_CLASS CALayer; |
-typedef CALayer PlatformLayer; |
-#elif PLATFORM(WIN) |
-typedef struct _CACFLayer PlatformLayer; |
-#elif PLATFORM(QT) |
-namespace WebCore { |
-class TextureMapperPlatformLayer; |
-typedef TextureMapperPlatformLayer PlatformLayer; |
-}; |
-#elif PLATFORM(CHROMIUM) |
namespace WebKit { |
class WebLayer; |
} |
namespace WebCore { |
typedef WebKit::WebLayer PlatformLayer; |
} |
-#elif PLATFORM(GTK) |
-#if USE(TEXTURE_MAPPER_GL) |
-namespace WebCore { |
-class TextureMapperPlatformLayer; |
-typedef TextureMapperPlatformLayer PlatformLayer; |
-}; |
-#elif USE(CLUTTER) |
-typedef struct _ClutterActor ClutterActor; |
-namespace WebCore { |
-typedef ClutterActor PlatformLayer; |
-}; |
-#endif |
-#elif PLATFORM(BLACKBERRY) |
-namespace WebCore { |
-class LayerWebKitThread; |
-typedef LayerWebKitThread PlatformLayer; |
-} |
-#else |
-typedef void* PlatformLayer; |
-#endif |
#endif // USE(ACCELERATED_COMPOSITING) |