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

Unified Diff: third_party/WebKit/Source/core/loader/resource/FontResource.h

Issue 2550663002: Allow creating font data while FontResource is revalidating (Closed)
Patch Set: Allow to create font data while revalidating Created 4 years 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 | « third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/resource/FontResource.h
diff --git a/third_party/WebKit/Source/core/loader/resource/FontResource.h b/third_party/WebKit/Source/core/loader/resource/FontResource.h
index 2e1fffa3b97e4657d72b4d00d4d680a358a998e6..a6afc64226d6b07c6cb67a53e77838e295cbace0 100644
--- a/third_party/WebKit/Source/core/loader/resource/FontResource.h
+++ b/third_party/WebKit/Source/core/loader/resource/FontResource.h
@@ -60,6 +60,7 @@ class CORE_EXPORT FontResource final : public Resource {
bool isCORSFailed() const { return m_corsFailed; }
String otsParsingMessage() const { return m_otsParsingMessage; }
+ bool hasCustomFontData() const { return static_cast<bool>(m_fontData); }
bool ensureCustomFontData();
FontPlatformData platformDataFromCustomData(
float size,
« no previous file with comments | « third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698