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

Unified Diff: third_party/WebKit/Source/core/loader/resource/FontResource.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/loader/resource/FontResource.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/FontResource.cpp b/third_party/WebKit/Source/core/loader/resource/FontResource.cpp
index c8d8995a52e9b83df46793df61f7ebbf769892d0..64018324443f9cc114c8dc730cce18e10ffbae53 100644
--- a/third_party/WebKit/Source/core/loader/resource/FontResource.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/FontResource.cpp
@@ -139,7 +139,7 @@ bool FontResource::ensureCustomFontData() {
if (m_fontData) {
recordPackageFormatHistogram(packageFormatOf(data()));
} else {
- setStatus(DecodeError);
+ setStatus(ResourceStatus::DecodeError);
recordPackageFormatHistogram(PackageFormatUnknown);
}
}

Powered by Google App Engine
This is Rietveld 408576698