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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 05975ca49423d095befec68a362456803501a250..cfbfd93fa1cc1a176351f22097b0ad847a15eb81 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -418,7 +418,7 @@ bool Internals::isLoadingFromMemoryCache(const String& url) {
const String cacheIdentifier = m_document->fetcher()->getCacheIdentifier();
Resource* resource = memoryCache()->resourceForURL(
m_document->completeURL(url), cacheIdentifier);
- return resource && resource->getStatus() == Resource::Cached;
+ return resource && resource->getStatus() == ResourceStatus::Cached;
}
int Internals::getResourcePriority(const String& url, Document* document) {

Powered by Google App Engine
This is Rietveld 408576698