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

Unified Diff: trunk/Source/platform/fonts/FontDescription.cpp

Issue 1155543007: Revert 196325 "Make small-caps work correctly with tr locale" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/Source/platform/fonts/FontDescription.h ('k') | trunk/Source/wtf/text/StringImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/platform/fonts/FontDescription.cpp
===================================================================
--- trunk/Source/platform/fonts/FontDescription.cpp (revision 196343)
+++ trunk/Source/platform/fonts/FontDescription.cpp (working copy)
@@ -131,9 +131,9 @@
return locale;
}
-const AtomicString& FontDescription::locale(bool includeDefault) const
+const AtomicString& FontDescription::locale() const
{
- if (m_locale.isNull() && includeDefault)
+ if (m_locale.isNull())
return defaultLocale();
return m_locale;
}
« no previous file with comments | « trunk/Source/platform/fonts/FontDescription.h ('k') | trunk/Source/wtf/text/StringImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698