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

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

Issue 1366883002: [Reland] Post loading tasks on the appropriate WebFrameScheduler's queue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix UAF in BackgroundHTMLParser Created 5 years, 2 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: 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 3404185812d401d54c671a359b954b2eb663f623..644098ba50fe6d0a82ca762029c175f2460fbb62 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
@@ -64,6 +64,7 @@
#include "platform/network/ResourceTimingInfo.h"
#include "platform/weborigin/SchemeRegistry.h"
#include "platform/weborigin/SecurityPolicy.h"
+#include "public/platform/WebFrameScheduler.h"
#include <algorithm>
@@ -733,6 +734,11 @@ ResourceLoadPriority FrameFetchContext::modifyPriorityForExperiments(ResourceLoa
return static_cast<ResourceLoadPriority>(modifiedPriority);
}
+WebTaskRunner* FrameFetchContext::loadingTaskRunner() const
+{
+ return frame()->frameScheduler()->loadingTaskRunner();
+}
+
DEFINE_TRACE(FrameFetchContext)
{
visitor->trace(m_document);

Powered by Google App Engine
This is Rietveld 408576698