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

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

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: Rebase 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 d473c31124ba4ad543543fd4a22674395104ca99..081e6ac90a5284c0d45435c6a682f74c4f344372 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -9978,7 +9978,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