Title: [115802] trunk/Source/WTF
Revision
115802
Author
[email protected]
Date
2012-05-02 01:20:09 -0700 (Wed, 02 May 2012)

Log Message

[Qt]r57240 broke Qt build (gcc bug)
https://bugs.webkit.org/show_bug.cgi?id=37253

Patch by Adenilson Cavalcanti <[email protected]> on 2012-05-02
Reviewed by Noam Rosenthal.

Removing workaround macro since current gcc/Qt doesn't require it to compile.

* wtf/PassRefPtr.h:
(WTF):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (115801 => 115802)


--- trunk/Source/WTF/ChangeLog	2012-05-02 08:10:38 UTC (rev 115801)
+++ trunk/Source/WTF/ChangeLog	2012-05-02 08:20:09 UTC (rev 115802)
@@ -1,3 +1,15 @@
+2012-05-02  Adenilson Cavalcanti  <[email protected]>
+
+        [Qt]r57240 broke Qt build (gcc bug)
+        https://bugs.webkit.org/show_bug.cgi?id=37253
+
+        Reviewed by Noam Rosenthal.
+
+        Removing workaround macro since current gcc/Qt doesn't require it to compile.
+
+        * wtf/PassRefPtr.h:
+        (WTF):
+
 2012-04-30  Oliver Hunt  <[email protected]>
 
         Investigate overflows in Canvas putImageData routine

Modified: trunk/Source/WTF/wtf/PassRefPtr.h (115801 => 115802)


--- trunk/Source/WTF/wtf/PassRefPtr.h	2012-05-02 08:10:38 UTC (rev 115801)
+++ trunk/Source/WTF/wtf/PassRefPtr.h	2012-05-02 08:20:09 UTC (rev 115802)
@@ -32,13 +32,7 @@
 
     inline void adopted(const void*) { }
 
-#if !PLATFORM(QT)
     #define REF_DEREF_INLINE ALWAYS_INLINE
-#else
-    // Using ALWAYS_INLINE broke the Qt build. This may be a GCC bug.
-    // See https://bugs.webkit.org/show_bug.cgi?id=37253 for details.
-    #define REF_DEREF_INLINE inline
-#endif
 
     template<typename T> REF_DEREF_INLINE void refIfNotNull(T* ptr)
     {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to