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

Unified Diff: third_party/WebKit/Source/core/css/RemoteFontFaceSource.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/css/RemoteFontFaceSource.cpp
diff --git a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp
index cd27b864c53c3e54506ea2dab6540d7c66b8192c..cf7ce8b81954bb9086d4bd25f1c01b05d2c89095 100644
--- a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp
+++ b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp
@@ -114,13 +114,13 @@ void RemoteFontFaceSource::notifyFinished(Resource*) {
: FontLoadHistograms::FromNetwork);
m_histograms.recordRemoteFont(m_font.get(), m_isInterventionTriggered);
m_histograms.fontLoaded(m_font->isCORSFailed(),
- m_font->getStatus() == Resource::LoadError,
+ m_font->getStatus() == ResourceStatus::LoadError,
m_isInterventionTriggered);
m_font->ensureCustomFontData();
// FIXME: Provide more useful message such as OTS rejection reason.
// See crbug.com/97467
- if (m_font->getStatus() == Resource::DecodeError &&
+ if (m_font->getStatus() == ResourceStatus::DecodeError &&
m_fontSelector->document()) {
m_fontSelector->document()->addConsoleMessage(ConsoleMessage::create(
OtherMessageSource, WarningMessageLevel,

Powered by Google App Engine
This is Rietveld 408576698