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

Unified Diff: Source/core/fetch/FontResource.cpp

Issue 983973004: Provide user friendly messages for OTS parsing of fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase patch Created 5 years, 6 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 | « Source/core/fetch/FontResource.h ('k') | Source/platform/fonts/FontCustomPlatformData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/FontResource.cpp
diff --git a/Source/core/fetch/FontResource.cpp b/Source/core/fetch/FontResource.cpp
index f3f023cf6ed28356dc72a57e7fd6fe354f745405..0009ada0d8a010accd20f72fe7b1de6c85e93144 100644
--- a/Source/core/fetch/FontResource.cpp
+++ b/Source/core/fetch/FontResource.cpp
@@ -131,7 +131,7 @@ bool FontResource::ensureCustomFontData()
{
if (!m_fontData && !errorOccurred() && !isLoading()) {
if (m_data)
- m_fontData = FontCustomPlatformData::create(m_data.get());
+ m_fontData = FontCustomPlatformData::create(m_data.get(), m_otsParsingMessage);
if (m_fontData) {
recordPackageFormatHistogram(packageFormatOf(m_data.get()));
« no previous file with comments | « Source/core/fetch/FontResource.h ('k') | Source/platform/fonts/FontCustomPlatformData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698