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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.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/loader/EmptyClients.cpp
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.cpp b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
index 977d16b07fcf8cc20892c8c0429654784c948cb3..bfe806b3b432d1025bc25c202cc77ed64b7e5d5d 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
@@ -181,6 +181,11 @@ WebRemotePlaybackClient* EmptyLocalFrameClient::createWebRemotePlaybackClient(
return nullptr;
}
+TextCheckerClient& EmptyLocalFrameClient::textCheckerClient() const {
+ DEFINE_STATIC_LOCAL(EmptyTextCheckerClient, client, ());
+ return client;
+}
+
void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) {}
void EmptyTextCheckerClient::cancelAllPendingRequests() {}
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/page/SpellCheckerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698