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

Unified Diff: third_party/WebKit/Source/core/loader/LinkLoader.h

Issue 2844913002: Drop GetFrame()->GetDocument() usage in FrameFetchContext (Closed)
Patch Set: Add comment in SendMessageToConsoleForPossiblyNullDocument 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/loader/LinkLoader.h
diff --git a/third_party/WebKit/Source/core/loader/LinkLoader.h b/third_party/WebKit/Source/core/loader/LinkLoader.h
index 8b38186863b92da5f37d2d2f601326e9d87af53e..43a295833683826f6fefd38baf17b07bae60996b 100644
--- a/third_party/WebKit/Source/core/loader/LinkLoader.h
+++ b/third_party/WebKit/Source/core/loader/LinkLoader.h
@@ -45,6 +45,7 @@ namespace blink {
class Document;
class LinkRelAttribute;
+class LocalFrame;
class NetworkHintsInterface;
class PrerenderHandle;
struct ViewportDescriptionWrapper;
@@ -95,7 +96,8 @@ class CORE_EXPORT LinkLoader final
enum MediaPreloadPolicy { kLoadAll, kOnlyLoadNonMedia, kOnlyLoadMedia };
static void LoadLinksFromHeader(const String& header_value,
const KURL& base_url,
- Document*,
+ LocalFrame&,
+ Document*, // can be nullptr
const NetworkHintsInterface&,
CanLoadResources,
MediaPreloadPolicy,
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | third_party/WebKit/Source/core/loader/LinkLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698