summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/exported/web_frame_serializer_sanitization_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/exported/web_frame_serializer_sanitization_test.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/exported/web_frame_serializer_sanitization_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/exported/web_frame_serializer_sanitization_test.cc b/chromium/third_party/blink/renderer/core/exported/web_frame_serializer_sanitization_test.cc
index 843e9afb11d..7417837c7a2 100644
--- a/chromium/third_party/blink/renderer/core/exported/web_frame_serializer_sanitization_test.cc
+++ b/chromium/third_party/blink/renderer/core/exported/web_frame_serializer_sanitization_test.cc
@@ -89,7 +89,7 @@ class WebFrameSerializerSanitizationTest : public testing::Test {
RegisterMockedFileURLLoad(parsed_url, file_path, mime_type);
frame_test_helpers::LoadFrame(MainFrameImpl(), url.Utf8().c_str());
MainFrameImpl()->GetFrame()->View()->UpdateAllLifecyclePhases(
- DocumentLifecycle::LifecycleUpdateReason::kTest);
+ DocumentUpdateReason::kTest);
MainFrameImpl()->GetFrame()->GetDocument()->UpdateStyleAndLayoutTree();
test::RunPendingTasks();
}
@@ -109,10 +109,10 @@ class WebFrameSerializerSanitizationTest : public testing::Test {
&host_element->AttachShadowRootInternal(shadow_type, delegates_focus);
}
shadow_root->SetDelegatesFocus(delegates_focus);
- shadow_root->SetInnerHTMLFromString(String::FromUTF8(shadow_content),
- ASSERT_NO_EXCEPTION);
+ shadow_root->setInnerHTML(String::FromUTF8(shadow_content),
+ ASSERT_NO_EXCEPTION);
scope.GetDocument().View()->UpdateAllLifecyclePhases(
- DocumentLifecycle::LifecycleUpdateReason::kTest);
+ DocumentUpdateReason::kTest);
return shadow_root;
}