| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index b92e52d602d25a9090d272ad76e8b92b69dbb01f..f7f77643884e4b780b375c28ff0c21c8c5d95973 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -219,6 +219,7 @@
|
| #include "web/RemoteFrameOwner.h"
|
| #include "web/SharedWorkerRepositoryClientImpl.h"
|
| #include "web/SuspendableScriptExecutor.h"
|
| +#include "web/TextCheckerClientImpl.h"
|
| #include "web/TextFinder.h"
|
| #include "web/WebAssociatedURLLoaderImpl.h"
|
| #include "web/WebDataSourceImpl.h"
|
| @@ -1568,6 +1569,7 @@ WebLocalFrameImpl::WebLocalFrameImpl(
|
| m_interfaceRegistry(interfaceRegistry),
|
| m_webDevToolsFrontend(0),
|
| m_inputMethodController(new WebInputMethodControllerImpl(this)),
|
| + m_textCheckerClient(new TextCheckerClientImpl(this)),
|
| m_selfKeepAlive(this) {
|
| DCHECK(m_client);
|
| frameCount++;
|
| @@ -1598,6 +1600,7 @@ DEFINE_TRACE(WebLocalFrameImpl) {
|
| visitor->trace(m_textFinder);
|
| visitor->trace(m_printContext);
|
| visitor->trace(m_contextMenuNode);
|
| + visitor->trace(m_textCheckerClient);
|
| WebFrame::traceFrames(visitor, this);
|
| WebFrameImplBase::trace(visitor);
|
| }
|
| @@ -2520,4 +2523,8 @@ void WebLocalFrameImpl::extractSmartClipData(WebRect rectInViewport,
|
| }
|
| }
|
|
|
| +TextCheckerClient& WebLocalFrameImpl::textCheckerClient() const {
|
| + return *m_textCheckerClient;
|
| +}
|
| +
|
| } // namespace blink
|
|
|