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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.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/inspector/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index 812d33cf85c3b9fe8d8992d0be6814d6375d64af..10fc07b077e827afffa90c9052d2f4114c146db8 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -780,7 +780,7 @@ InspectorPageAgent::buildObjectForFrameTree(LocalFrame* frame) {
.build();
if (cachedResource->wasCanceled())
resourceObject->setCanceled(true);
- else if (cachedResource->getStatus() == Resource::LoadError)
+ else if (cachedResource->getStatus() == ResourceStatus::LoadError)
resourceObject->setFailed(true);
subresources->addItem(std::move(resourceObject));
}

Powered by Google App Engine
This is Rietveld 408576698