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

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: Comment fixes Created 5 years, 7 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: Source/core/fetch/FontResource.cpp
diff --git a/Source/core/fetch/FontResource.cpp b/Source/core/fetch/FontResource.cpp
index e2bd3a81aeb0f138c17cd0111ae2dc349aada25d..0e68fdd1d0c3e782a2b15de048b014a31717bd4f 100644
--- a/Source/core/fetch/FontResource.cpp
+++ b/Source/core/fetch/FontResource.cpp
@@ -122,7 +122,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()));

Powered by Google App Engine
This is Rietveld 408576698