Skip to content
Commit e1402cf5 authored by Philip Rogers's avatar Philip Rogers Committed by Commit Bot
Browse files

Add a UseCounter for position: sticky

This patch adds a UseCounter for position: sticky by tracking when new
StickyConstraints are added. This feat is achieved by removing non-const
access to PaintLayerScrollableArea::GetStickyConstraintsMap and adding
an explicit "AddStickyConstraints" function that increments the counter.

Bug: 1109232
Change-Id: Ic0543c6e3501019ada58aeec2c3885c3854c7897
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2317607


Auto-Submit: Philip Rogers <pdr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791493}
parent 2f160adc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment