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

Unified Diff: third_party/WebKit/Source/core/html/parser/PreloadRequest.h

Issue 2843013002: Revert of Don't lower priority for scripts inserted by doc.write (Closed)
Patch Set: 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/PreloadRequest.h
diff --git a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
index cecfccbfa273fe2d63fabc23d62441b91ff2c371..5ce1490f84445419bc3057578565c67f44179803 100644
--- a/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
+++ b/third_party/WebKit/Source/core/html/parser/PreloadRequest.h
@@ -98,9 +98,6 @@
const IntegrityMetadataSet& IntegrityMetadata() const {
return integrity_metadata_;
}
- void SetFromInsertionScanner(const bool from_insertion_scanner) {
- from_insertion_scanner_ = from_insertion_scanner;
- }
private:
PreloadRequest(const String& initiator_name,
@@ -125,8 +122,7 @@
client_hints_preferences_(client_hints_preferences),
request_type_(request_type),
referrer_policy_(referrer_policy),
- referrer_source_(referrer_source),
- from_insertion_scanner_(false) {}
+ referrer_source_(referrer_source) {}
KURL CompleteURL(Document*);
@@ -146,7 +142,6 @@
ReferrerPolicy referrer_policy_;
ReferrerSource referrer_source_;
IntegrityMetadataSet integrity_metadata_;
- bool from_insertion_scanner_;
};
typedef Vector<std::unique_ptr<PreloadRequest>> PreloadRequestStream;

Powered by Google App Engine
This is Rietveld 408576698