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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcher.h

Issue 2174563003: Clear all preloads when document is detached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 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
Index: third_party/WebKit/Source/core/fetch/ResourceFetcher.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
index 5f05087fed4e89ef5aea3ad1d75289f9bca3d9c7..5c6177d850a3fbd34bd99d5268bd1fb55f1d56e5 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcher.h
@@ -88,7 +88,7 @@ public:
void setImagesEnabled(bool);
FetchContext& context() const { return m_context ? *m_context.get() : FetchContext::nullInstance(); }
- void clearContext() { m_context.clear(); }
+ void clearContext();
int requestCount() const;

Powered by Google App Engine
This is Rietveld 408576698