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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontDescription.cpp

Issue 2797423005: Always use original ascent/descent for FontMetrics::floatAscent|floatDescent (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/fonts/FontDescription.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontDescription.cpp b/third_party/WebKit/Source/platform/fonts/FontDescription.cpp
index 8ac4079d571df9ee2dcf77dfff662d4ecddecda8..2a0c0b122ec4a8f5c1e29fafba4743e5a8d61c11 100644
--- a/third_party/WebKit/Source/platform/fonts/FontDescription.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontDescription.cpp
@@ -84,7 +84,6 @@ FontDescription::FontDescription()
m_fields.m_subpixelTextPosition = s_useSubpixelTextPositioning;
m_fields.m_typesettingFeatures = s_defaultTypesettingFeatures;
m_fields.m_variantNumeric = FontVariantNumeric().m_fieldsAsUnsigned;
- m_fields.m_subpixelAscentDescent = false;
}
FontDescription::FontDescription(const FontDescription&) = default;
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/FontDescription.h ('k') | third_party/WebKit/Source/platform/fonts/FontMetrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698