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 |