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

Unified Diff: third_party/WebKit/Source/core/loader/ImageLoader.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/ImageLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
index a48a04c6b7e84d666aba49292a2043f1d657f06c..68bec714e69a5c96f86888f2a5c4933e272828c4 100644
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
@@ -400,7 +400,7 @@ void ImageLoader::updateFromElement(UpdateFromElementBehavior updateBehavior,
if (m_loadingImageDocument && updateBehavior != UpdateForcedReload) {
ImageResource* imageResource =
ImageResource::create(imageSourceToKURL(m_element->imageSourceURL()));
- imageResource->setStatus(Resource::Pending);
+ imageResource->setStatus(ResourceStatus::Pending);
m_imageResourceForImageDocument = imageResource;
setImage(imageResource->getContent());
return;

Powered by Google App Engine
This is Rietveld 408576698