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

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

Issue 2642383003: Replace Resource::Status with ResourceStatus (Closed)
Patch Set: Rebase. 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/platform/loader/fetch/ResourceFetcher.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
index 2ad954072ef899102a649a38e32bb41b93f5025b..690a6ed753457603ad66e88a3258a9ef687633b6 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
@@ -292,7 +292,7 @@ void ResourceFetcher::requestLoadStarted(unsigned long identifier,
ResourceLoadStartType type,
bool isStaticData) {
if (type == ResourceLoadingFromCache &&
- resource->getStatus() == Resource::Cached &&
+ resource->getStatus() == ResourceStatus::Cached &&
!m_validatedURLs.contains(resource->url())) {
context().dispatchDidLoadResourceFromMemoryCache(
identifier, resource, request.resourceRequest().frameType(),
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/Resource.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698