| Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| index 9ce771840c4b86d08c2a4e4b5812c4f8ed3ea308..aad2404223ad5a4d6ec402328f81e4ac9c6f6034 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
| @@ -616,11 +616,10 @@
|
| }
|
|
|
| void FrameFetchContext::DidLoadResource(Resource* resource) {
|
| - if (!GetDocument())
|
| - return;
|
| - FirstMeaningfulPaintDetector::From(*GetDocument()).CheckNetworkStable();
|
| if (resource->IsLoadEventBlockingResourceType())
|
| - GetDocument()->CheckCompleted();
|
| + GetFrame()->Loader().CheckCompleted();
|
| + if (GetDocument())
|
| + FirstMeaningfulPaintDetector::From(*GetDocument()).CheckNetworkStable();
|
| }
|
|
|
| void FrameFetchContext::AddResourceTiming(const ResourceTimingInfo& info) {
|
|
|