summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/loader/resource/font_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/loader/resource/font_resource.h')
-rw-r--r--chromium/third_party/blink/renderer/core/loader/resource/font_resource.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/loader/resource/font_resource.h b/chromium/third_party/blink/renderer/core/loader/resource/font_resource.h
index d07e8567953..d31b28d8ba3 100644
--- a/chromium/third_party/blink/renderer/core/loader/resource/font_resource.h
+++ b/chromium/third_party/blink/renderer/core/loader/resource/font_resource.h
@@ -53,7 +53,7 @@ class CORE_EXPORT FontResource final : public Resource {
void DidAddClient(ResourceClient*) override;
- void SetRevalidatingRequest(const ResourceRequest&) override;
+ void SetRevalidatingRequest(const ResourceRequestHead&) override;
void AllClientsAndObserversRemoved() override;
void StartLoadLimitTimersIfNecessary(base::SingleThreadTaskRunner*);
@@ -90,12 +90,12 @@ class CORE_EXPORT FontResource final : public Resource {
void NotifyClientsLongLimitExceeded();
// This is used in UMA histograms, should not change order.
- enum LoadLimitState {
+ enum class LoadLimitState {
kLoadNotStarted,
kUnderLimit,
kShortLimitExceeded,
kLongLimitExceeded,
- kLoadLimitStateEnumMax
+ kMaxValue = kLongLimitExceeded,
};
scoped_refptr<FontCustomPlatformData> font_data_;