Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1103)

Unified Diff: third_party/WebKit/Source/web/TextCheckerClientImpl.cpp

Issue 2797073002: Move WebTextCheckClient reference from WebViewImpl to WebLocalFrameImpl (Closed)
Patch Set: Spell my name correctly Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « third_party/WebKit/Source/web/ContextMenuClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698