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

Unified Diff: third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.cpp

Issue 2645953005: Add more unit tests for ImageResource's DecodeError (Closed)
Patch Set: Include path fix 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
« no previous file with comments | « third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.cpp b/third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.cpp
index 504ee10ab86c1778adfef9f873ae511db3f25263..04326872ce90c02034c5b376c7520513f9726a84 100644
--- a/third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.cpp
@@ -44,6 +44,7 @@ void MockImageResourceObserver::imageNotifyFinished(
m_imageNotifyFinishedCount++;
m_imageWidthOnImageNotifyFinished =
m_content->hasImage() ? m_content->getImage()->width() : 0;
+ m_statusOnImageNotifyFinished = m_content->getStatus();
}
bool MockImageResourceObserver::imageNotifyFinishedCalled() const {
« no previous file with comments | « third_party/WebKit/Source/core/loader/resource/MockImageResourceObserver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698