Unreviewed. Correct my previous patch to disable external SVG
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2012 22:56:25 +0000 (22:56 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2012 22:56:25 +0000 (22:56 +0000)
references only on PLATFORM(CHROMIUM).

* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@132854 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/Platform.h

index 4331d79..31da5e7 100644 (file)
@@ -1,5 +1,12 @@
 2012-10-29  Adam Barth  <abarth@webkit.org>
 
+        Unreviewed. Correct my previous patch to disable external SVG
+        references only on PLATFORM(CHROMIUM).
+
+        * wtf/Platform.h:
+
+2012-10-29  Adam Barth  <abarth@webkit.org>
+
         Block SVG external references pending a security review
         https://bugs.webkit.org/show_bug.cgi?id=100635
 
index 403fdf2..6808f23 100644 (file)
 #define ENABLE_TEXT_NOTIFICATIONS_ONLY 1
 #endif
 
-#if !defined(ENABLE_EXTERNAL_SVG_REFERENCES) && !PLATFORM(CHROMIUM)
+#if !defined(ENABLE_EXTERNAL_SVG_REFERENCES)
+#if PLATFORM(CHROMIUM)
+#define ENABLE_EXTERNAL_SVG_REFERENCES 0
+#else
 #define ENABLE_EXTERNAL_SVG_REFERENCES 1
-#endif
+#endif // PLATFORM(CHROMIUM)
+#endif // !defined(ENABLE_EXTERNAL_SVG_REFERENCES)
 
 #if !defined(WTF_USE_ZLIB) && !PLATFORM(QT)
 #define WTF_USE_ZLIB 1