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 9cfe94cbcc43631d45de9eb757424031fe2968db..47f5155bf379548ea5d813007d58067c20283589 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( |
Frame* frame) |
: frame_(frame) {} |
+void FrameClientHintsPreferencesContext::CountClientHintsDeviceRAM() { |
+ UseCounter::Count(frame_, UseCounter::kClientHintsDeviceRAM); |
+} |
+ |
void FrameClientHintsPreferencesContext::CountClientHintsDPR() { |
UseCounter::Count(frame_, UseCounter::kClientHintsDPR); |
} |