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

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

Issue 2614213002: Finalize new UseCounter histogram names (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounterTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index e8526fef78236ac52f0b6bda569dfcb4aabd7818..32e75943cb0424503f67725feea9b62013735250 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -1265,23 +1265,22 @@ EnumerationHistogram& UseCounter::featuresHistogram() const {
// that's tricky (SVGImage is intentionally isolated, and the Page that
// created it may not even exist anymore).
// So instead we just use a dedicated histogram for the SVG case.
- DEFINE_STATIC_LOCAL(blink::EnumerationHistogram, histogram,
- ("WebCore.UseCounter_TEST.Features",
- blink::UseCounter::NumberOfFeatures));
+ DEFINE_STATIC_LOCAL(
+ blink::EnumerationHistogram, histogram,
+ ("Blink.UseCounter.Features", blink::UseCounter::NumberOfFeatures));
DEFINE_STATIC_LOCAL(blink::EnumerationHistogram, svgHistogram,
- ("WebCore.UseCounter_TEST.SVGImage.Features",
+ ("Blink.UseCounter.SVGImage.Features",
blink::UseCounter::NumberOfFeatures));
return m_context == SVGImageContext ? svgHistogram : histogram;
}
EnumerationHistogram& UseCounter::cssHistogram() const {
- DEFINE_STATIC_LOCAL(
- blink::EnumerationHistogram, histogram,
- ("WebCore.UseCounter_TEST.CSSProperties", kMaximumCSSSampleId));
+ DEFINE_STATIC_LOCAL(blink::EnumerationHistogram, histogram,
+ ("Blink.UseCounter.CSSProperties", kMaximumCSSSampleId));
DEFINE_STATIC_LOCAL(
blink::EnumerationHistogram, svgHistogram,
- ("WebCore.UseCounter_TEST.SVGImage.CSSProperties", kMaximumCSSSampleId));
+ ("Blink.UseCounter.SVGImage.CSSProperties", kMaximumCSSSampleId));
return m_context == SVGImageContext ? svgHistogram : histogram;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/UseCounterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698