Index: third_party/WebKit/Source/web/TextCheckerClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/TextCheckerClientImpl.cpp b/third_party/WebKit/Source/web/TextCheckerClientImpl.cpp |
index 7005a3d120604935117bb2087d506654febf8842..00f7602d9d53459b71d53fdbecd8ee4b188cc422 100644 |
--- a/third_party/WebKit/Source/web/TextCheckerClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/TextCheckerClientImpl.cpp |
@@ -19,8 +19,7 @@ DEFINE_TRACE(TextCheckerClientImpl) { |
} |
WebTextCheckClient* TextCheckerClientImpl::webTextCheckClient() const { |
- // TODO(xiaochengh): Move WebTextCheckClient to WebLocalFrame. |
- return m_webLocalFrame->viewImpl()->textCheckClient(); |
+ return m_webLocalFrame->textCheckClient(); |
} |
void TextCheckerClientImpl::checkSpellingOfString(const String& text, |