Index: Source/core/html/HTMLTextFormControlElementTest.cpp |
diff --git a/Source/core/html/HTMLTextFormControlElementTest.cpp b/Source/core/html/HTMLTextFormControlElementTest.cpp |
index ad5838830a32bb66fd4d042a215f30e6c1d3e079..d27b23ee936a9420c1041562f2bc53714d31d078 100644 |
--- a/Source/core/html/HTMLTextFormControlElementTest.cpp |
+++ b/Source/core/html/HTMLTextFormControlElementTest.cpp |
@@ -212,7 +212,7 @@ TEST_F(HTMLTextFormControlElementTest, SpellCheckDoesNotCauseUpdateLayout) |
VisibleSelection oldSelection = document().frame()->selection().selection(); |
Position newPosition(input->innerEditorElement()->firstChild(), 3); |
- VisibleSelection newSelection(newPosition, DOWNSTREAM); |
+ VisibleSelection newSelection(newPosition, TextAffinity::Downstream); |
document().frame()->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | FrameSelection::DoNotUpdateAppearance); |
ASSERT_EQ(3, input->selectionStart()); |