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

Unified Diff: Source/core/fetch/FetchRequest.cpp

Issue 1078633003: Added preloader support for sizes based RW values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/fetch/FetchRequest.cpp
diff --git a/Source/core/fetch/FetchRequest.cpp b/Source/core/fetch/FetchRequest.cpp
index 8c0e84c609aa78841449303dbe607692ecfc30e2..5ed5593e99c7a85025b95691947afc5223eaef14 100644
--- a/Source/core/fetch/FetchRequest.cpp
+++ b/Source/core/fetch/FetchRequest.cpp
@@ -39,6 +39,7 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const AtomicS
, m_forPreload(false)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
+ , m_resourceWidth(-1)
{
m_options.initiatorInfo.name = initiator;
}
@@ -50,6 +51,7 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const AtomicS
, m_forPreload(false)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
+ , m_resourceWidth(-1)
{
m_options.initiatorInfo.name = initiator;
}
@@ -61,6 +63,7 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const FetchIn
, m_forPreload(false)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
+ , m_resourceWidth(-1)
{
m_options.initiatorInfo = initiator;
}

Powered by Google App Engine
This is Rietveld 408576698