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

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

Issue 2723053002: Use the correct case converter for |localName| and |tagName| (Closed)
Patch Set: Created 3 years, 9 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 return String(); 275 return String();
276 return m_impl->lower(); 276 return m_impl->lower();
277 } 277 }
278 278
279 String String::upper() const { 279 String String::upper() const {
280 if (!m_impl) 280 if (!m_impl)
281 return String(); 281 return String();
282 return m_impl->upper(); 282 return m_impl->upper();
283 } 283 }
284 284
285 String String::upperASCII() const {
286 if (!m_impl)
287 return String();
288 return m_impl->upperASCII();
289 }
290
285 String String::lower(const AtomicString& localeIdentifier) const { 291 String String::lower(const AtomicString& localeIdentifier) const {
286 if (!m_impl) 292 if (!m_impl)
287 return String(); 293 return String();
288 return m_impl->lower(localeIdentifier); 294 return m_impl->lower(localeIdentifier);
289 } 295 }
290 296
291 String String::upper(const AtomicString& localeIdentifier) const { 297 String String::upper(const AtomicString& localeIdentifier) const {
292 if (!m_impl) 298 if (!m_impl)
293 return String(); 299 return String();
294 return m_impl->upper(localeIdentifier); 300 return m_impl->upper(localeIdentifier);
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 return out << '"'; 823 return out << '"';
818 } 824 }
819 825
820 #ifndef NDEBUG 826 #ifndef NDEBUG
821 void String::show() const { 827 void String::show() const {
822 dataLogF("%s\n", asciiDebug(impl()).data()); 828 dataLogF("%s\n", asciiDebug(impl()).data());
823 } 829 }
824 #endif 830 #endif
825 831
826 } // namespace WTF 832 } // namespace WTF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698