Index: third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp b/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp |
index 842d2731b0604d96e2da5a3b072ac73c9e1196ee..01db68607b24c51be977eff9b5401a72615a379c 100644 |
--- a/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp |
@@ -37,7 +37,11 @@ class FirstMeaningfulPaintDetectorTest : public testing::Test { |
detector().notifyPaint(); |
} |
- void simulateNetworkStable() { detector().networkStableTimerFired(nullptr); } |
+ void simulateNetworkStable() { |
+ document().setParsingState(Document::FinishedParsing); |
+ detector().network0QuietTimerFired(nullptr); |
+ detector().network2QuietTimerFired(nullptr); |
tdresser
2017/03/07 17:15:51
Should we have a test where we hit the two network
Kunihiko Sakamoto
2017/03/08 04:34:51
Done.
|
+ } |
private: |
static double returnMockTime() { |