Index: third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp |
index f950f5c46e1e908bd1867bc996cc4bb46ad7ae3b..bd436b9660bfec1e6ae02f2d71532e81e648832f 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp |
@@ -65,7 +65,7 @@ TEST_F(SpellCheckerTest, AdvancedToNextMisspellingWrapSearchNoCrash) { |
Element* div = GetDocument().QuerySelector("div"); |
div->focus(); |
Selection().SetSelection(SelectionInDOMTree::Builder() |
- .Collapse(Position::LastPositionInNode(div)) |
+ .Collapse(Position::LastPositionInNode(*div)) |
.Build()); |
UpdateAllLifecyclePhases(); |