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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2746343002: Phase III Step 1: Make ImageResourceContent manage its own ResourceStatus (Closed)
Patch Set: Reflect comments Created 3 years, 7 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/platform/loader/fetch/ResourceFetcher.cpp ('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/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 9b7144b4bc6c4ac9d3b62bffe8fd804a104e602d..baed472b1e854c262cd590db925a71b7b1c8b50b 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -10881,7 +10881,7 @@ TEST_F(WebFrameTest, ImageDocumentDecodeError) {
ToLocalFrame(helper.WebView()->GetPage()->MainFrame())->GetDocument();
EXPECT_TRUE(document->IsImageDocument());
EXPECT_EQ(ResourceStatus::kDecodeError,
- ToImageDocument(document)->CachedImage()->GetStatus());
+ ToImageDocument(document)->CachedImage()->GetContentStatus());
}
// Ensure that the root layer -- whose size is ordinarily derived from the
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698