Index: third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp b/third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp |
index 5d5ebb66b0a7a042a375f1559a46845ed08254e7..4f813392218412a91f19d4ac2dda2af89f45efb1 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/ColdModeSpellCheckRequester.cpp |
@@ -149,7 +149,7 @@ void ColdModeSpellCheckRequester::RequestCheckingForNextChunk() { |
const Position& chunk_end = |
CalculateCharacterSubrange( |
EphemeralRange(current_chunk_start_, |
- Position::LastPositionInNode(current_root_editable_)), |
+ Position::LastPositionInNode(*current_root_editable_)), |
0, kColdModeChunkSize) |
.EndPosition(); |
if (chunk_end <= current_chunk_start_) { |