Title: [109224] trunk/Source/_javascript_Core
Revision
109224
Author
[email protected]
Date
2012-02-29 09:44:34 -0800 (Wed, 29 Feb 2012)

Log Message

Add JSCore symbol exports needed by wx port
https://bugs.webkit.org/show_bug.cgi?id=77280

Reviewed by Hajime Morita.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (109223 => 109224)


--- trunk/Source/_javascript_Core/ChangeLog	2012-02-29 17:40:55 UTC (rev 109223)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-02-29 17:44:34 UTC (rev 109224)
@@ -1,3 +1,13 @@
+2012-02-29  Kevin Ollivier  <[email protected]>
+
+        Add JSCore symbol exports needed by wx port
+        https://bugs.webkit.org/show_bug.cgi?id=77280
+
+        Reviewed by Hajime Morita.
+
+        * wtf/ArrayBufferView.h:
+        * wtf/ExportMacros.h:
+
 2012-02-28  Raphael Kubo da Costa  <[email protected]>
 
         [CMake] Always build wtf as a static library.

Modified: trunk/Source/_javascript_Core/wtf/ArrayBufferView.h (109223 => 109224)


--- trunk/Source/_javascript_Core/wtf/ArrayBufferView.h	2012-02-29 17:40:55 UTC (rev 109223)
+++ trunk/Source/_javascript_Core/wtf/ArrayBufferView.h	2012-02-29 17:44:34 UTC (rev 109224)
@@ -36,7 +36,7 @@
 
 namespace WTF {
 
-class ArrayBufferView : public RefCounted<ArrayBufferView> {
+class WTF_EXPORT_PRIVATE_RTTI ArrayBufferView : public RefCounted<ArrayBufferView> {
   public:
     virtual bool isByteArray() const { return false; }
     virtual bool isUnsignedByteArray() const { return false; }

Modified: trunk/Source/_javascript_Core/wtf/ExportMacros.h (109223 => 109224)


--- trunk/Source/_javascript_Core/wtf/ExportMacros.h	2012-02-29 17:40:55 UTC (rev 109223)
+++ trunk/Source/_javascript_Core/wtf/ExportMacros.h	2012-02-29 17:44:34 UTC (rev 109224)
@@ -83,6 +83,14 @@
 #define WTF_EXPORT_PRIVATE WTF_IMPORT
 #endif
 
+// wxWebKit uses RTTI because wx itself does, so use a special macro for
+// extra exports it needs.
+#if PLATFORM(WX)
+#define WTF_EXPORT_PRIVATE_RTTI WTF_EXPORT_PRIVATE
+#else
+#define WTF_EXPORT_PRIVATE_RTTI
+#endif
+
 #define WTF_EXPORT_HIDDEN WTF_HIDDEN
 
 #define HIDDEN_INLINE WTF_EXPORT_HIDDEN inline
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to