Chromium Code Reviews| 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 f873f582a862959088feae2731098e1add6b3b7e..2f33906db9e24110bf686aba183006aa9ce85b9f 100644 |
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
| @@ -58,6 +58,7 @@ |
| #include "core/loader/appcache/ApplicationCacheHost.h" |
| #include "core/page/NetworkStateNotifier.h" |
| #include "core/page/Page.h" |
| +#include "core/paint/FirstMeaningfulPaintDetector.h" |
| #include "core/svg/graphics/SVGImageChromeClient.h" |
| #include "core/timing/DOMWindowPerformance.h" |
| #include "core/timing/Performance.h" |
| @@ -414,6 +415,8 @@ void FrameFetchContext::didLoadResource(Resource* resource) |
| { |
| if (resource->isLoadEventBlockingResourceType()) |
| frame()->loader().checkCompleted(); |
| + if (m_document) |
| + FirstMeaningfulPaintDetector::from(*m_document).checkNetworkStable(); |
|
kouhei (in TOK)
2016/07/28 03:45:04
I think we can add a hook in FrameLoader::checkCom
Kunihiko Sakamoto
2016/08/01 08:52:07
I wanted to take into account all loading activiti
|
| } |
| void FrameFetchContext::addResourceTiming(const ResourceTimingInfo& info) |