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

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

Issue 457413002: Defer late and async scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Lower priorities for late/async scripts Created 6 years, 4 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
« no previous file with comments | « Source/core/fetch/FetchRequest.h ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/FetchRequest.cpp
diff --git a/Source/core/fetch/FetchRequest.cpp b/Source/core/fetch/FetchRequest.cpp
index 5962054a5eb5ddc2193545b4941d31ee605a8f40..1058af7c10d72ff5684df947b0abf2548be72d0c 100644
--- a/Source/core/fetch/FetchRequest.cpp
+++ b/Source/core/fetch/FetchRequest.cpp
@@ -37,6 +37,8 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const AtomicS
, m_options(ResourceFetcher::defaultResourceOptions())
, m_priority(priority)
, m_forPreload(false)
+ , m_isBeforeBody(false)
+ , m_execAsync(false)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
{
@@ -48,6 +50,8 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const AtomicS
, m_options(options)
, m_priority(ResourceLoadPriorityUnresolved)
, m_forPreload(false)
+ , m_isBeforeBody(false)
+ , m_execAsync(false)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
{
@@ -59,6 +63,8 @@ FetchRequest::FetchRequest(const ResourceRequest& resourceRequest, const FetchIn
, m_options(ResourceFetcher::defaultResourceOptions())
, m_priority(ResourceLoadPriorityUnresolved)
, m_forPreload(false)
+ , m_isBeforeBody(false)
+ , m_execAsync(false)
, m_defer(NoDefer)
, m_originRestriction(UseDefaultOriginRestrictionForType)
{
« no previous file with comments | « Source/core/fetch/FetchRequest.h ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698