Index: third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp |
index 9768137d55eeb324d4e67b08a0fc0a0236e2956d..99ae9ddfa904b589181265605caebeb818128d42 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp |
@@ -28,9 +28,9 @@ TEST_F(HTMLImageElementTest, width) |
RefPtrWillBeRawPtr<HTMLImageElement> image = HTMLImageElement::create(m_dummyPageHolder->document(), nullptr, /* createdByParser */ false); |
image->setAttribute(HTMLNames::widthAttr, "400"); |
// TODO(yoav): `width` does not impact resourceWidth until we resolve https://github.com/ResponsiveImagesCG/picture-element/issues/268 |
- EXPECT_EQ(500, image->resourceWidth().width); |
+ EXPECT_EQ(500, image->getResourceWidth().width); |
image->setAttribute(HTMLNames::sizesAttr, "100vw"); |
- EXPECT_EQ(500, image->resourceWidth().width); |
+ EXPECT_EQ(500, image->getResourceWidth().width); |
} |
TEST_F(HTMLImageElementTest, sourceSize) |