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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2203913002: Added trace events for blink feature usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved trace point deeper to catch all code paths Created 4 years, 4 months 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/frame/UseCounter.h
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.h b/third_party/WebKit/Source/core/frame/UseCounter.h
index e5dba55f459ea19fa8a3815efd73bedbfb6ece02..4dffdd62e3376ef599a9907c9fd18b279cf4c206 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -1332,11 +1332,7 @@ public:
void muteForInspector();
void unmuteForInspector();
- void recordMeasurement(Feature feature)
- {
- if (!m_muteCount)
- m_countBits.recordMeasurement(feature);
- }
+ void recordMeasurement(Feature);
void updateMeasurements();
bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasRecordedMeasurement(feature); }

Powered by Google App Engine
This is Rietveld 408576698