summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/forms/text_control_element_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/forms/text_control_element_test.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/html/forms/text_control_element_test.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/forms/text_control_element_test.cc b/chromium/third_party/blink/renderer/core/html/forms/text_control_element_test.cc
index 64536a9caa5..e5f900301bc 100644
--- a/chromium/third_party/blink/renderer/core/html/forms/text_control_element_test.cc
+++ b/chromium/third_party/blink/renderer/core/html/forms/text_control_element_test.cc
@@ -30,8 +30,7 @@ class TextControlElementTest : public testing::Test {
HTMLInputElement& Input() const { return *input_; }
void UpdateAllLifecyclePhases() {
- GetDocument().View()->UpdateAllLifecyclePhases(
- DocumentLifecycle::LifecycleUpdateReason::kTest);
+ GetDocument().View()->UpdateAllLifecyclePhases(DocumentUpdateReason::kTest);
}
private:
@@ -49,7 +48,7 @@ void TextControlElementTest::SetUp() {
std::make_unique<DummyPageHolder>(IntSize(800, 600), &page_clients);
document_ = &dummy_page_holder_->GetDocument();
- document_->documentElement()->SetInnerHTMLFromString(
+ document_->documentElement()->setInnerHTML(
"<body><textarea id=textarea></textarea><input id=input /></body>");
UpdateAllLifecyclePhases();
text_control_ = ToTextControl(document_->getElementById("textarea"));