Chromium Code Reviews| Index: Source/core/loader/FrameFetchContext.cpp |
| diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp |
| index 226cec882ad1009ff374d4543a9bd7c0ec745e1e..d1b22f4c17c4d93098934db3003799f281bc63e5 100644 |
| --- a/Source/core/loader/FrameFetchContext.cpp |
| +++ b/Source/core/loader/FrameFetchContext.cpp |
| @@ -675,6 +675,27 @@ bool FrameFetchContext::isLowPriorityIframe() const |
| return !frame()->isMainFrame() && frame()->settings() && frame()->settings()->lowPriorityIframes(); |
| } |
| +bool FrameFetchContext::fetchDeferLateScripts() const |
| +{ |
| + return !frame()->settings() ? 0 : frame()->settings()->fetchDeferLateScripts(); |
|
Bryan McQuade
2015/08/10 19:27:09
can we do
return frame()->settings() && frame()->
Pat Meenan
2015/08/10 20:21:17
Oh yeah, thanks. Left over from when it was an in
|
| +} |
| + |
| +bool FrameFetchContext::fetchIncreaseFontPriority() const |
| +{ |
| + return !frame()->settings() ? 0 : frame()->settings()->fetchIncreaseFontPriority(); |
| +} |
| + |
| +bool FrameFetchContext::fetchIncreaseAsyncScriptPriority() const |
| +{ |
| + return !frame()->settings() ? 0 : frame()->settings()->fetchIncreaseAsyncScriptPriority(); |
| +} |
| + |
| +bool FrameFetchContext::fetchIncreasePriorities() const |
| +{ |
| + return !frame()->settings() ? 0 : frame()->settings()->fetchIncreasePriorities(); |
| +} |
| + |
| + |
| DEFINE_TRACE(FrameFetchContext) |
| { |
| visitor->trace(m_document); |