| Index: Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
|
| index a84050081935b97bf79a366d41ab8bdb70db03be..a753421111309f1394c1744461de473459ce320d 100644
|
| --- a/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/Source/core/loader/FrameFetchContext.cpp
|
| @@ -656,6 +656,11 @@ void FrameFetchContext::countClientHintsViewportWidth()
|
| UseCounter::count(frame(), UseCounter::ClientHintsViewportWidth);
|
| }
|
|
|
| +bool FrameFetchContext::isLowPriorityIframe() const
|
| +{
|
| + return !frame()->isMainFrame() && frame()->settings() && frame()->settings()->lowPriorityIframes();
|
| +}
|
| +
|
| DEFINE_TRACE(FrameFetchContext)
|
| {
|
| visitor->trace(m_document);
|
|
|