summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/editing/commands/insert_text_command_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/editing/commands/insert_text_command_test.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/editing/commands/insert_text_command_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/editing/commands/insert_text_command_test.cc b/chromium/third_party/blink/renderer/core/editing/commands/insert_text_command_test.cc
index 72d7153b370..14d4cfff12e 100644
--- a/chromium/third_party/blink/renderer/core/editing/commands/insert_text_command_test.cc
+++ b/chromium/third_party/blink/renderer/core/editing/commands/insert_text_command_test.cc
@@ -29,7 +29,7 @@ TEST_F(InsertTextCommandTest, WithTypingStyle) {
EXPECT_EQ(
"<div contenteditable=\"true\"><option id=\"sample\">x</option></div>",
- GetDocument().body()->InnerHTMLAsString())
+ GetDocument().body()->innerHTML())
<< "Content of OPTION is distributed into shadow node as text"
"without applying typing style.";
}
@@ -282,7 +282,7 @@ TEST_F(InsertTextCommandTest, AnchorElementWithBlockCrash) {
Element* iElement = GetDocument().CreateRawElement(html_names::kITag);
nested_anchor->setAttribute("href", "www");
- iElement->SetInnerHTMLFromString("home");
+ iElement->setInnerHTML("home");
anchor->AppendChild(nested_anchor);
nested_anchor->AppendChild(iElement);