Changeset 127702 in webkit
- Timestamp:
- Sep 6, 2012 12:21:03 AM (12 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r127561 r127702 1 2012-09-06 Adam Barth <abarth@chromium.org> 2 3 Remove WTF::String::operator+= 4 https://bugs.webkit.org/show_bug.cgi?id=95797 5 6 Reviewed by Sam Weinig. 7 8 This patch encloses WTF::String::operator+= in an ifdef so that we can 9 gradually remove it from the various port-specific files. The ifdef 10 lets us whitelist use of operator+= in individual files during the 11 transition. 12 13 * wtf/Platform.h 14 * wtf/text/WTFString.h: 15 1 16 2012-09-05 Gabor Rapcsanyi <rgabor@webkit.org> 2 17 -
trunk/Source/WTF/wtf/Platform.h
r127561 r127702 1186 1186 #endif 1187 1187 1188 #if PLATFORM(QT) || PLATFORM(GTK) || PLATFORM(WIN) 1189 #define WTF_DEPRECATED_STRING_OPERATORS 1190 #endif 1191 1188 1192 #if PLATFORM(QT) 1189 1193 #include <qglobal.h> -
trunk/Source/WTF/wtf/text/WTFString.h
r127212 r127702 467 467 #endif 468 468 469 #ifdef WTF_DEPRECATED_STRING_OPERATORS 469 470 inline String& operator+=(String& a, const String& b) { a.append(b); return a; } 471 #endif 470 472 471 473 inline bool operator==(const String& a, const String& b) { return equal(a.impl(), b.impl()); }
Note: See TracChangeset
for help on using the changeset viewer.