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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSResourceValue.h

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/css/cssom/CSSResourceValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSResourceValue.h b/third_party/WebKit/Source/core/css/cssom/CSSResourceValue.h
index 00d29bb3d651bc613d46f6e89dd0151830f6526a..b7846a0b579a9a1f4e6de188fdbe590893677daf 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSResourceValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSResourceValue.h
@@ -20,14 +20,14 @@ class CORE_EXPORT CSSResourceValue : public CSSStyleValue {
const String state() const {
switch (status()) {
- case Resource::Status::NotStarted:
+ case ResourceStatus::NotStarted:
return "unloaded";
- case Resource::Status::Pending:
+ case ResourceStatus::Pending:
return "loading";
- case Resource::Status::Cached:
+ case ResourceStatus::Cached:
return "loaded";
- case Resource::Status::LoadError:
- case Resource::Status::DecodeError:
+ case ResourceStatus::LoadError:
+ case ResourceStatus::DecodeError:
return "error";
default:
NOTREACHED();
@@ -40,7 +40,7 @@ class CORE_EXPORT CSSResourceValue : public CSSStyleValue {
protected:
CSSResourceValue() {}
- virtual Resource::Status status() const = 0;
+ virtual ResourceStatus status() const = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698