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

Unified Diff: Source/platform/fonts/AlternateFontFamily.h

Issue 64243002: Restore old behavior where "Sans" was used as fallback font (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/AlternateFontFamily.h
diff --git a/Source/platform/fonts/AlternateFontFamily.h b/Source/platform/fonts/AlternateFontFamily.h
index 02aea9ec2e94940ec381f2a27ea1576198f1b2da..374438d5bf6317c5354f3e887af27e8e760e3741 100644
--- a/Source/platform/fonts/AlternateFontFamily.h
+++ b/Source/platform/fonts/AlternateFontFamily.h
@@ -117,9 +117,8 @@ inline const AtomicString getFallbackFontFamily(const FontDescription& descripti
case FontDescription::MonospaceFamily:
return monospaceStr;
case FontDescription::SansSerifFamily:
- return sansStr;
default:
- return AtomicString();
+ return sansStr;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698