| Index: third_party/WebKit/Source/core/html/forms/OptionListTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/OptionListTest.cpp b/third_party/WebKit/Source/core/html/forms/OptionListTest.cpp
|
| index 7b90458ba2719f793b04140739333ccad665fe15..d36f4d0cba7c8e3b06b1cee11a914ff5a317db9a 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/OptionListTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/OptionListTest.cpp
|
| @@ -43,8 +43,7 @@ TEST_F(OptionListTest, OptionOnly) {
|
| select().setInnerHTML(
|
| "text<input><option id=o1></option><input><option id=o2></option><input>",
|
| ASSERT_NO_EXCEPTION);
|
| - HTMLElement* div = toHTMLElement(
|
| - select().document().createElement("div", ASSERT_NO_EXCEPTION));
|
| + HTMLElement* div = toHTMLElement(select().document().createElement("div"));
|
| div->setInnerHTML("<option id=o3></option>", ASSERT_NO_EXCEPTION);
|
| select().appendChild(div);
|
| OptionList list = select().optionList();
|
|
|