Commit ecaca1be authored by Matt Falkenhagen's avatar Matt Falkenhagen Committed by Commit Bot

Minor comment cleanups for IdlenessDetector and FirstMeaningfulPaintDetector.

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I3da9b8dab7ecaf9ef4552a43160b029f5147774e
Reviewed-on: https://chromium-review.googlesource.com/1143048Reviewed-by: default avatarKunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576410}
parent 79b203d5
...@@ -16,11 +16,11 @@ namespace blink { ...@@ -16,11 +16,11 @@ namespace blink {
class LocalFrame; class LocalFrame;
class ResourceFetcher; class ResourceFetcher;
// IdlenessDetector observes network request count everytime a load is // IdlenessDetector observes the resource request count every time a load is
// finshed after DOMContentLoadedEventEnd is fired, and emit network almost idle // finshed after DOMContentLoadedEventEnd is fired. It emits a network almost
// signal when there are no more than 2 network connection active in 0.5 second, // idle signal when there are no more than 2 network connections active in 0.5
// and emit network idle signal when there is 0 network connection active in 0.5 // seconds, and a network idle signal when there are 0 network connections
// second. // active in 0.5 seconds.
class CORE_EXPORT IdlenessDetector class CORE_EXPORT IdlenessDetector
: public GarbageCollectedFinalized<IdlenessDetector>, : public GarbageCollectedFinalized<IdlenessDetector>,
public base::sequence_manager::TaskTimeObserver { public base::sequence_manager::TaskTimeObserver {
......
...@@ -20,7 +20,7 @@ class LayoutObjectCounter; ...@@ -20,7 +20,7 @@ class LayoutObjectCounter;
class PaintTiming; class PaintTiming;
// FirstMeaningfulPaintDetector observes layout operations during page load // FirstMeaningfulPaintDetector observes layout operations during page load
// until network stable (2 seconds of no network activity), and computes the // until network stable (0.5 seconds of no network activity), and computes the
// layout-based First Meaningful Paint. // layout-based First Meaningful Paint.
// See https://goo.gl/vpaxv6 and http://goo.gl/TEiMi4 for more details. // See https://goo.gl/vpaxv6 and http://goo.gl/TEiMi4 for more details.
class CORE_EXPORT FirstMeaningfulPaintDetector class CORE_EXPORT FirstMeaningfulPaintDetector
......
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