Bug fix (strut must be false by default)

Change-Id: I3d778562ae85da048190998faa7f62a2953c099f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247108
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
This commit is contained in:
Julia Lavrova 2019-10-08 15:58:29 -04:00 committed by Skia Commit-Bot
parent 901aff018b
commit 191c6080dc

View File

@ -301,7 +301,11 @@ private:
class InternalLineMetrics {
public:
InternalLineMetrics() { clean(); }
InternalLineMetrics() {
clean();
fForceStrut = false;
}
InternalLineMetrics(bool forceStrut) {
clean();
fForceStrut = forceStrut;