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

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

Issue 2919913002: Add SpellCheckTestBase::GetSpellChecker() (Closed)
Patch Set: Created 3 years, 7 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/SpellCheckTestBase.cpp
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckTestBase.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckTestBase.cpp
index 321d14f35e4687eaa3366dfc8abfd6dba96908e1..f0a4e7e6b7088376f79cea9679cc914aab38d1fa 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckTestBase.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellCheckTestBase.cpp
@@ -4,6 +4,8 @@
#include "core/editing/spellcheck/SpellCheckTestBase.h"
+#include "core/frame/LocalFrame.h"
+
namespace blink {
void SpellCheckTestBase::SetUp() {
@@ -14,4 +16,8 @@ void SpellCheckTestBase::SetUp() {
SetupPageWithClients(&page_clients);
}
+SpellChecker& SpellCheckTestBase::GetSpellChecker() const {
+ return GetFrame().GetSpellChecker();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698