Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: third_party/WebKit/Source/platform/wtf/text/WTFString.cpp

Issue 2821633002: Remove WTF::String::DeprecatedUpper() (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 return String(); 269 return String();
270 return impl_->Substring(pos, len); 270 return impl_->Substring(pos, len);
271 } 271 }
272 272
273 String String::DeprecatedLower() const { 273 String String::DeprecatedLower() const {
274 if (!impl_) 274 if (!impl_)
275 return String(); 275 return String();
276 return impl_->LowerUnicode(); 276 return impl_->LowerUnicode();
277 } 277 }
278 278
279 String String::DeprecatedUpper() const {
280 if (!impl_)
281 return String();
282 return impl_->UpperUnicode();
283 }
284
285 String String::LowerUnicode(const AtomicString& locale_identifier) const { 279 String String::LowerUnicode(const AtomicString& locale_identifier) const {
286 if (!impl_) 280 if (!impl_)
287 return String(); 281 return String();
288 return impl_->LowerUnicode(locale_identifier); 282 return impl_->LowerUnicode(locale_identifier);
289 } 283 }
290 284
291 String String::UpperUnicode(const AtomicString& locale_identifier) const { 285 String String::UpperUnicode(const AtomicString& locale_identifier) const {
292 if (!impl_) 286 if (!impl_)
293 return String(); 287 return String();
294 return impl_->UpperUnicode(locale_identifier); 288 return impl_->UpperUnicode(locale_identifier);
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 return out << '"'; 824 return out << '"';
831 } 825 }
832 826
833 #ifndef NDEBUG 827 #ifndef NDEBUG
834 void String::Show() const { 828 void String::Show() const {
835 DataLogF("%s\n", AsciiDebug(Impl()).Data()); 829 DataLogF("%s\n", AsciiDebug(Impl()).Data());
836 } 830 }
837 #endif 831 #endif
838 832
839 } // namespace WTF 833 } // namespace WTF
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/text/WTFString.h ('k') | third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698