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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/Resource.cpp

Issue 2767853003: Remove stale-while-revalidate from blink (Closed)
Patch Set: Created 3 years, 9 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/platform/loader/fetch/Resource.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp b/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp
index 5a8c0c668ef9a85f11ca713555160af077ec56f3..cb81f55b8fb38a5f340113ebc354fd4d4fb35453 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp
@@ -524,10 +524,6 @@ double Resource::freshnessLifetime() const {
return blink::freshnessLifetime(response(), m_responseTimestamp);
}
-double Resource::stalenessLifetime() const {
- return response().cacheControlStaleWhileRevalidate();
-}
-
static bool canUseResponse(const ResourceResponse& response,
double responseTimestamp) {
if (response.isNull())

Powered by Google App Engine
This is Rietveld 408576698