Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1401)

Unified Diff: Source/core/loader/FrameFetchContext.cpp

Issue 1246493002: Fix Resource Priorities and Scheduling (Blink Side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleaned up Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/FrameFetchContext.cpp
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
index 8cf3d64d7a1dc9f9d562471d64c1bb3719b3d0d3..d7bb4d9d08766d5b15a941b05dbe4cd761164496 100644
--- a/Source/core/loader/FrameFetchContext.cpp
+++ b/Source/core/loader/FrameFetchContext.cpp
@@ -661,6 +661,11 @@ bool FrameFetchContext::isLowPriorityIframe() const
return !frame()->isMainFrame() && frame()->settings() && frame()->settings()->lowPriorityIframes();
}
+int FrameFetchContext::resourceFetchMode() const
+{
+ return !frame()->settings() ? 0 : frame()->settings()->resourceFetchMode();
+}
+
DEFINE_TRACE(FrameFetchContext)
{
visitor->trace(m_document);
« Source/core/fetch/ResourceFetcher.cpp ('K') | « Source/core/loader/FrameFetchContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698