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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.cpp

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: fix ContentResourceProviderTest Created 3 years, 11 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/Resource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
index b23dff7d18f08dbf625fc677e95bd4fa16b0ab30..8d15d2d976755150f2bc24a1d45b809a1b3e4bfd 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -934,7 +934,7 @@ void Resource::setCachePolicyBypassingCache() {
}
void Resource::setLoFiStateOff() {
- m_resourceRequest.setLoFiState(WebURLRequest::LoFiOff);
+ m_resourceRequest.setPreviewsState(WebURLRequest::PreviewsOff);
}
void Resource::clearRangeRequestHeader() {

Powered by Google App Engine
This is Rietveld 408576698