summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/pending/wtf/Platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/pending/wtf/Platform.h b/webkit/pending/wtf/Platform.h
index 7cc89b0..7256d81 100644
--- a/webkit/pending/wtf/Platform.h
+++ b/webkit/pending/wtf/Platform.h
@@ -79,6 +79,11 @@
/* Operating environments */
+/* define a platform for chrome, requires |BUILDING_CHROME__| to be defined */
+#if defined(BUILDING_CHROME__)
+#define WTF_PLATFORM_CHROME 1
+#endif
+
/* PLATFORM(QT) */
/* PLATFORM(GTK) */
/* PLATFORM(MAC) */
@@ -108,6 +113,9 @@
#if PLATFORM(MAC)
#define WTF_PLATFORM_CG 1
#define WTF_PLATFORM_CI 1
+#if PLATFORM(CHROME)
+#define WTF_PLATFORM_SKIA 1
+#endif
#elif !PLATFORM(QT) && !PLATFORM(WX)
#define WTF_PLATFORM_CAIRO 1
#endif