Commit 84fa2e8f authored by Cammie Smith Barnes's avatar Cammie Smith Barnes Committed by Commit Bot

Cleanup: Fix typos in page_load_metrics/observers/ad_metrics files.

Change-Id: I14c30dd135dc2f4fe813c4cee927ba911d33f28e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2305672Reviewed-by: default avatarJosh Karlin <jkarlin@chromium.org>
Commit-Queue: Cammie Smith Barnes <cammie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795666}
parent 2f08c261
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
namespace features { namespace features {
// Enables of disabled the restricted navigation ad tagging feature. When // Enables or disables the restricted navigation ad tagging feature. When
// enabled, the AdTagging heuristic is modified to additional information to // enabled, the AdTagging heuristic is modified to additional information to
// determine if a frame is an ad. If the frame's navigation url matches an allow // determine if a frame is an ad. If the frame's navigation url matches an allow
// list rule, it is not an ad. // list rule, it is not an ad.
......
...@@ -280,7 +280,7 @@ class AdsPageLoadMetricsObserver ...@@ -280,7 +280,7 @@ class AdsPageLoadMetricsObserver
std::unique_ptr<HeavyAdThresholdNoiseProvider> std::unique_ptr<HeavyAdThresholdNoiseProvider>
heavy_ad_threshold_noise_provider_; heavy_ad_threshold_noise_provider_;
// The maximum ad density measurements for the page during it's lifecycle. // The maximum ad density measurements for the page during its lifecycle.
PageAdDensityTracker page_ad_density_tracker_; PageAdDensityTracker page_ad_density_tracker_;
DISALLOW_COPY_AND_ASSIGN(AdsPageLoadMetricsObserver); DISALLOW_COPY_AND_ASSIGN(AdsPageLoadMetricsObserver);
......
...@@ -316,7 +316,7 @@ void FrameData::SetFirstEligibleToPaint( ...@@ -316,7 +316,7 @@ void FrameData::SetFirstEligibleToPaint(
// If the ad frame tree hasn't already received an earlier paint // If the ad frame tree hasn't already received an earlier paint
// eligibility stamp, mark it as eligible to paint. Since multiple frames // eligibility stamp, mark it as eligible to paint. Since multiple frames
// may report timestamps, we keep the earliest reported stamp. // may report timestamps, we keep the earliest reported stamp.
// Note that this timestamp (or lack tereof) is best-effort. // Note that this timestamp (or lack thereof) is best-effort.
if (!first_eligible_to_paint_.has_value() || if (!first_eligible_to_paint_.has_value() ||
first_eligible_to_paint_.value() > time_stamp.value()) first_eligible_to_paint_.value() > time_stamp.value())
first_eligible_to_paint_ = time_stamp; first_eligible_to_paint_ = time_stamp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment