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

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp

Issue 2795113002: Move ownership of TextCheckerClientImpl to WebLocalFrameImpl (Closed)
Patch Set: Rebased 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/core/editing/spellcheck/SpellChecker.cpp
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
index e26740a836c32da813eb5152f1c4237bccd5ca4b..77d1482cc9863b4242f9c35327b1486174ecfcbf 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
@@ -109,7 +109,7 @@ SpellCheckerClient& SpellChecker::spellCheckerClient() const {
}
TextCheckerClient& SpellChecker::textChecker() const {
- return spellCheckerClient().textChecker();
+ return frame().client()->textCheckerClient();
}
SpellChecker::SpellChecker(LocalFrame& frame)

Powered by Google App Engine
This is Rietveld 408576698