blob: 3692024057360eda3940303378928cc4476a467f [file] [log] [blame]
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Wed, 1 Sep 2021 02:09:14 -0400
Subject: [PATCH] disable using Play services fonts
---
.../chromium/content/browser/font/AndroidFontLookupImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java b/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java
index 48edb1d5509f3..ee9e6e58f0d4e 100644
--- a/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java
@@ -185,7 +185,7 @@ public class AndroidFontLookupImpl implements AndroidFontLookup {
* @param fontUniqueName The ICU case folded unique full font name to fetch.
*/
private ReadOnlyFile fetchFontInBackground(String fontUniqueName, Core core) {
- ParcelFileDescriptor fileDescriptor = tryFetchFont(fontUniqueName);
+ ParcelFileDescriptor fileDescriptor = null;
if (fileDescriptor == null) {
// Avoid re-requesting this font in future.
mExpectedFonts.remove(fontUniqueName);