| Index: third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.h
|
| diff --git a/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.h b/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.h
|
| index c04d9da72ccebb5934b916b7451dd855ab9e3a03..d9733eb398d251f62de4140b6dd2c0f6a3494213 100644
|
| --- a/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.h
|
| +++ b/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.h
|
| @@ -53,6 +53,11 @@ class CORE_EXPORT FirstMeaningfulPaintDetector
|
| private:
|
| friend class FirstMeaningfulPaintDetectorTest;
|
|
|
| + // The page is n-quiet if there are no more than n active network requests for
|
| + // this duration of time.
|
| + static constexpr double kNetwork2QuietWindowSeconds = 3;
|
| + static constexpr double kNetwork0QuietWindowSeconds = 0.5;
|
| +
|
| Document* document();
|
| int activeConnections();
|
| void setNetworkQuietTimers(int activeConnections);
|
|
|