| 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 fb76fee8c0b7fca48575fa6c930769f05f8be3b1..92fe4ce36e03148225a34be097d94e7438a32573 100644
|
| --- a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
|
| +++ b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
|
| @@ -83,8 +83,12 @@ class RemoteFontFaceSource final : public CSSFontFaceSource,
|
| m_dataSource(dataSource) {}
|
| void loadStarted();
|
| void fallbackFontPainted(DisplayPeriod);
|
| - void fontLoaded(bool isInterventionTriggered);
|
| - void longLimitExceeded(bool isInterventionTriggered);
|
| + void fontLoaded(const FontResource*,
|
| + const FontDisplay,
|
| + bool isInterventionTriggered);
|
| + void longLimitExceeded(const FontResource*,
|
| + const FontDisplay,
|
| + bool isInterventionTriggered);
|
| void recordFallbackTime(const FontResource*);
|
| void recordRemoteFont(const FontResource*);
|
| bool hadBlankText() { return m_blankPaintTime; }
|
| @@ -93,7 +97,9 @@ class RemoteFontFaceSource final : public CSSFontFaceSource,
|
|
|
| private:
|
| void recordLoadTimeHistogram(const FontResource*, int duration);
|
| - void recordInterventionResult(bool isTriggered);
|
| + void recordInterventionResult(const FontResource*,
|
| + const FontDisplay,
|
| + bool isTriggered);
|
| CacheHitMetrics dataSourceMetricsValue();
|
| double m_loadStartTime;
|
| double m_blankPaintTime;
|
|
|