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

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

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: fix Created 4 years 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/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 380943d4bd35d176f42aaf4746e2d270e45c48ab..48380aa1c625c897caec73706f1d453f69f224a0 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -9975,7 +9975,7 @@ TEST_F(WebFrameTest, ImageDocumentLoadFinishTime) {
EXPECT_TRUE(document->isImageDocument());
ImageDocument* imgDocument = toImageDocument(document);
- ImageResource* resource = imgDocument->cachedImage();
+ ImageResource* resource = imgDocument->cachedImageResourceDeprecated();
EXPECT_TRUE(resource);
EXPECT_NE(0, resource->loadFinishTime());

Powered by Google App Engine
This is Rietveld 408576698