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

Unified Diff: third_party/WebKit/Source/core/html/ImageDocument.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/html/ImageDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/ImageDocument.cpp b/third_party/WebKit/Source/core/html/ImageDocument.cpp
index 06ee1efe7b7fac4073ffbda6ec98e93140755ff8..7d03d3641c5d423d4e963ec3100dc50700e2096c 100644
--- a/third_party/WebKit/Source/core/html/ImageDocument.cpp
+++ b/third_party/WebKit/Source/core/html/ImageDocument.cpp
@@ -154,7 +154,7 @@ void ImageDocumentParser::appendBytes(const char* data, size_t length) {
// If decoding has already failed, there's no point in sending additional
// data to the ImageResource.
if (document()->cachedImageResourceDeprecated()->getStatus() !=
- Resource::DecodeError)
+ ResourceStatus::DecodeError)
document()->cachedImageResourceDeprecated()->appendData(data, length);
}

Powered by Google App Engine
This is Rietveld 408576698