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..978c49da075d9a3b13f6fbca1e1a8d9ac50e3342 100644 |
--- a/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp |
@@ -37,7 +37,10 @@ class FirstMeaningfulPaintDetectorTest : public testing::Test { |
detector().notifyPaint(); |
} |
- void simulateNetworkStable() { detector().networkStableTimerFired(nullptr); } |
+ void simulateNetworkStable() { |
+ document().setParsingState(Document::FinishedParsing); |
+ detector().networkStableTimerFired(nullptr); |
+ } |
private: |
static double returnMockTime() { |