Changeset 89906 in webkit
- Timestamp:
- Jun 28, 2011 1:53:59 AM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r89895 r89906 1 2011-06-28 Shinya Kawanaka <shinyak@google.com> 2 3 Reviewed by Kent Tamura. 4 5 Add const to show() method in WTFString and AtomicString. 6 https://bugs.webkit.org/show_bug.cgi?id=63515 7 8 The lack of const in show() method is painful when 9 doing something like printf-debug. 10 11 * wtf/text/AtomicString.cpp: 12 (WTF::AtomicString::show): 13 * wtf/text/AtomicString.h: 14 * wtf/text/WTFString.cpp: 15 (String::show): 16 * wtf/text/WTFString.h: 17 1 18 2011-06-27 Ryosuke Niwa <rniwa@webkit.org> 2 19 -
trunk/Source/JavaScriptCore/wtf/text/AtomicString.cpp
r87438 r89906 367 367 368 368 #ifndef NDEBUG 369 void AtomicString::show() 369 void AtomicString::show() const 370 370 { 371 371 m_string.show(); -
trunk/Source/JavaScriptCore/wtf/text/AtomicString.h
r87438 r89906 115 115 116 116 #ifndef NDEBUG 117 void show() ;117 void show() const; 118 118 #endif 119 119 private: -
trunk/Source/JavaScriptCore/wtf/text/WTFString.cpp
r87438 r89906 965 965 Vector<char> asciiDebug(String& string); 966 966 967 void String::show() 967 void String::show() const 968 968 { 969 969 fprintf(stderr, "%s\n", asciiDebug(impl()).data()); -
trunk/Source/JavaScriptCore/wtf/text/WTFString.h
r87438 r89906 349 349 350 350 #ifndef NDEBUG 351 void show() ;351 void show() const; 352 352 #endif 353 353
Note: See TracChangeset
for help on using the changeset viewer.