Index: sky/engine/core/editing/Editor.cpp |
diff --git a/sky/engine/core/editing/Editor.cpp b/sky/engine/core/editing/Editor.cpp |
index c6b6367e43e273849e3a492b475c8b31b7fe030f..12fa4a9f4056678b2133b91a89bb3d0f6964aacf 100644 |
--- a/sky/engine/core/editing/Editor.cpp |
+++ b/sky/engine/core/editing/Editor.cpp |
@@ -721,8 +721,7 @@ PassRefPtr<Range> Editor::findStringAndScrollToVisible(const String& target, Ran |
if (!nextMatch) |
return nullptr; |
- nextMatch->firstNode()->renderer()->scrollRectToVisible(nextMatch->boundingBox(), |
- ScrollAlignment::alignCenterIfNeeded, ScrollAlignment::alignCenterIfNeeded); |
+ // FIXME(sky): Scroll to visible. |
return nextMatch.release(); |
} |