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

Unified Diff: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h

Issue 2453813004: WebFonts cache-aware timeout adaptation (Closed)
Patch Set: determine |m_period| for FontDisplaySwap in beginLoadIfNeeded() Created 4 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
Index: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
diff --git a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
index 12f5f0b56aa4255701b4d547b174a8bd6cb35fe1..49843ea12bc780ab61a52968279bf0b89b03e2b1 100644
--- a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
+++ b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
@@ -44,6 +44,9 @@ class RemoteFontFaceSource final : public CSSFontFaceSource,
void notifyFinished(Resource*) override;
void fontLoadShortLimitExceeded(FontResource*) override;
void fontLoadLongLimitExceeded(FontResource*) override;
+
+ void willReloadAfterDiskCacheMiss(const FontResource*) override;
+
String debugName() const override { return "RemoteFontFaceSource"; }
bool isBlank() override { return m_period == BlockPeriod; }

Powered by Google App Engine
This is Rietveld 408576698