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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 153983004: Schedule image resource downloads by decreasing visual impact - Blink Side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index 4a787c608af060e3e188bc76e6bbdd3cd407a8d1..99213e871be5fec73ca5a8d044cf1112eef21f74 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -286,11 +286,12 @@ void FrameLoaderClientImpl::dispatchDidReceiveResponse(DocumentLoader* loader,
m_webFrame->client()->didReceiveResponse(m_webFrame, identifier, webresp);
}
}
-void FrameLoaderClientImpl::dispatchDidChangeResourcePriority(unsigned long identifier,
- ResourceLoadPriority priority)
+
+void FrameLoaderClientImpl::dispatchDidChangeResourcePriority(
+ unsigned long identifier, ResourceLoadPriority priority, int intraPriorityValue)
esprehn 2014/02/12 21:42:18 I wouldn't wrap this at all, you don't wrap the co
shatch 2014/02/13 18:13:50 Done.
{
if (m_webFrame->client())
- m_webFrame->client()->didChangeResourcePriority(m_webFrame, identifier, static_cast<blink::WebURLRequest::Priority>(priority));
+ m_webFrame->client()->didChangeResourcePriority(m_webFrame, identifier, static_cast<blink::WebURLRequest::Priority>(priority), intraPriorityValue);
}
// Called when a particular resource load completes

Powered by Google App Engine
This is Rietveld 408576698