Index: third_party/WebKit/Source/core/loader/private/FrameClientHintsPreferencesContext.cpp |
diff --git a/third_party/WebKit/Source/core/loader/private/FrameClientHintsPreferencesContext.cpp b/third_party/WebKit/Source/core/loader/private/FrameClientHintsPreferencesContext.cpp |
index 2f2ec6e97f09287273d934bd10da354d738c3ddf..cca8ec2c09d09986b52ef604ca168296b0d91632 100644 |
--- a/third_party/WebKit/Source/core/loader/private/FrameClientHintsPreferencesContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/private/FrameClientHintsPreferencesContext.cpp |
@@ -12,6 +12,10 @@ FrameClientHintsPreferencesContext::FrameClientHintsPreferencesContext( |
LocalFrame* frame) |
: frame_(frame) {} |
+void FrameClientHintsPreferencesContext::CountClientHintsDeviceRAM() { |
+ UseCounter::Count(frame_, UseCounter::kClientHintsDeviceRAM); |
+} |
+ |
void FrameClientHintsPreferencesContext::CountClientHintsDPR() { |
UseCounter::Count(frame_, UseCounter::kClientHintsDPR); |
} |