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

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp

Issue 2561043002: Clean-up after Form Association Refactoring (Closed)
Patch Set: Removed constructorNeedsFormElement from scripts and HTMLTagNames 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/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 076ab51490343f53c0e7824af7fe1ccf77285672..191218a614f2f9196e6e2a3fff779ee1578cee9d 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp
@@ -25,7 +25,7 @@ class HTMLImageElementTest : public testing::Test {
TEST_F(HTMLImageElementTest, width) {
HTMLImageElement* image = HTMLImageElement::create(
- m_dummyPageHolder->document(), nullptr, /* createdByParser */ false);
+ m_dummyPageHolder->document(), /* 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
@@ -36,7 +36,7 @@ TEST_F(HTMLImageElementTest, width) {
TEST_F(HTMLImageElementTest, sourceSize) {
HTMLImageElement* image = HTMLImageElement::create(
- m_dummyPageHolder->document(), nullptr, /* createdByParser */ false);
+ m_dummyPageHolder->document(), /* createdByParser */ false);
image->setAttribute(HTMLNames::widthAttr, "400");
EXPECT_EQ(viewportWidth, image->sourceSize(*image));
image->setAttribute(HTMLNames::sizesAttr, "50vw");
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698