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

Unified Diff: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp

Issue 2826213003: Don't lower priority for scripts inserted by doc.write (Closed)
Patch Set: Fixed duplicate URLs in Layout test Created 3 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: third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
index 9804083cb6ac8c23d94391af35e540482b2eadff..25b373a4c89c766184dd7a7b20853a492e077587 100644
--- a/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp
@@ -100,7 +100,8 @@ void BackgroundHTMLParser::Init(
const MediaValuesCached::MediaValuesCachedData& media_values_cached_data) {
preload_scanner_.reset(new TokenPreloadScanner(
document_url, std::move(cached_document_parameters),
- media_values_cached_data));
+ media_values_cached_data,
+ TokenPreloadScanner::ScannerType::kMainDocument));
}
BackgroundHTMLParser::Configuration::Configuration()

Powered by Google App Engine
This is Rietveld 408576698