Changeset 52733 in webkit
- Timestamp:
- Jan 4, 2010 7:33:41 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52731 r52733 1 2010-01-04 Yongjun Zhang <yongjun.zhang@nokia.com> 2 3 Reviewed by Laszlo Gombos. 4 5 https://bugs.webkit.org/show_bug.cgi?id=29048 6 [Qt] make RenderStyle.h compile in winscw compiler. 7 8 Change compareEqual to a macro in Winscw compiler to get around "illegal operand" 9 error when compareEqual is defined as template. 10 11 The compiler bug is reported at: 12 https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=10447 13 14 * rendering/style/RenderStyle.h: 15 1 16 2010-01-04 Maciej Stachowiak <mjs@apple.com> 2 17 -
trunk/WebCore/rendering/style/RenderStyle.h
r52521 r52733 90 90 #endif 91 91 92 #if COMPILER(WINSCW) 93 #define compareEqual(t, u) ((t) == (u)) 94 #else 92 95 template<typename T, typename U> inline bool compareEqual(const T& t, const U& u) { return t == static_cast<T>(u); } 96 #endif 93 97 94 98 #define SET_VAR(group, variable, value) \
Note: See TracChangeset
for help on using the changeset viewer.