| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2012 Apple Inc. All rights | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2012 Apple Inc. All rights |
| 4 * reserved. | 4 * reserved. |
| 5 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 5 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 return String(); | 287 return String(); |
| 288 return impl_->LowerUnicode(locale_identifier); | 288 return impl_->LowerUnicode(locale_identifier); |
| 289 } | 289 } |
| 290 | 290 |
| 291 String String::UpperUnicode(const AtomicString& locale_identifier) const { | 291 String String::UpperUnicode(const AtomicString& locale_identifier) const { |
| 292 if (!impl_) | 292 if (!impl_) |
| 293 return String(); | 293 return String(); |
| 294 return impl_->UpperUnicode(locale_identifier); | 294 return impl_->UpperUnicode(locale_identifier); |
| 295 } | 295 } |
| 296 | 296 |
| 297 String String::LowerASCII() const { |
| 298 if (!impl_) |
| 299 return String(); |
| 300 return impl_->LowerASCII(); |
| 301 } |
| 302 |
| 297 String String::UpperASCII() const { | 303 String String::UpperASCII() const { |
| 298 if (!impl_) | 304 if (!impl_) |
| 299 return String(); | 305 return String(); |
| 300 return impl_->UpperASCII(); | 306 return impl_->UpperASCII(); |
| 301 } | 307 } |
| 302 | 308 |
| 303 String String::StripWhiteSpace() const { | 309 String String::StripWhiteSpace() const { |
| 304 if (!impl_) | 310 if (!impl_) |
| 305 return String(); | 311 return String(); |
| 306 return impl_->StripWhiteSpace(); | 312 return impl_->StripWhiteSpace(); |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 return out << '"'; | 830 return out << '"'; |
| 825 } | 831 } |
| 826 | 832 |
| 827 #ifndef NDEBUG | 833 #ifndef NDEBUG |
| 828 void String::Show() const { | 834 void String::Show() const { |
| 829 DataLogF("%s\n", AsciiDebug(Impl()).Data()); | 835 DataLogF("%s\n", AsciiDebug(Impl()).Data()); |
| 830 } | 836 } |
| 831 #endif | 837 #endif |
| 832 | 838 |
| 833 } // namespace WTF | 839 } // namespace WTF |
| OLD | NEW |