diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.cc b/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.cc index c969660cef0..f8fe22470f3 100644 --- a/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.cc +++ b/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.cc @@ -159,6 +159,10 @@ void TextFragmentAnchorMetrics::ReportMetrics() { TRACE_EVENT_SCOPE_THREAD, "end_text_length", match.selector.End().length()); + base::UmaHistogramBoolean( + base::StrCat({uma_prefix, "SpansMultipleBlocks"}), + match.spans_multiple_blocks); + // We only record ListItemMatch and TableCellMatch for exact matches DCHECK(!match.is_list_item && !match.is_table_cell); } |