Index: Source/WTF/wtf/PassRefPtr.h |
diff --git a/Source/WTF/wtf/PassRefPtr.h b/Source/WTF/wtf/PassRefPtr.h |
index 5f50671135615ad8d28e4e3cfe70582c2ca2960d..36b7202b452521bcfd53c99286b317e39baab610 100644 |
--- a/Source/WTF/wtf/PassRefPtr.h |
+++ b/Source/WTF/wtf/PassRefPtr.h |
@@ -33,28 +33,18 @@ namespace WTF { |
inline void adopted(const void*) { } |
-#if !(PLATFORM(QT) && CPU(ARM)) |
- #define REF_DEREF_INLINE ALWAYS_INLINE |
-#else |
- // Older version of gcc used by Harmattan SDK fails to build with ALWAYS_INLINE. |
- // 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) |
+ template<typename T> ALWAYS_INLINE void refIfNotNull(T* ptr) |
{ |
if (LIKELY(ptr != 0)) |
ptr->ref(); |
} |
- template<typename T> REF_DEREF_INLINE void derefIfNotNull(T* ptr) |
+ template<typename T> ALWAYS_INLINE void derefIfNotNull(T* ptr) |
{ |
if (LIKELY(ptr != 0)) |
ptr->deref(); |
} |
- #undef REF_DEREF_INLINE |
- |
template<typename T> class PassRefPtr { |
public: |
PassRefPtr() : m_ptr(0) { } |