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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2226833003: Make WebSpellCheckClient aware of leak detection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SpellCheckerDebugInfo
Patch Set: Minor style fix Created 4 years, 4 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/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index a881cd8ec2ae8b71dc132bd296ab5bd937ac4212..2ac4b18c2a8694fe464f905c2fa942d46349245c 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -5266,6 +5266,14 @@ public:
m_completion = completion;
}
+ void cancelAllPendingRequests() override
+ {
+ if (!m_completion)
+ return;
+ m_completion->didCancelCheckingText();
+ m_completion = nullptr;
+ }
+
void kickNoResults()
{
kick(-1, -1, WebTextDecorationTypeSpelling);
« no previous file with comments | « third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp ('k') | third_party/WebKit/public/web/WebSpellCheckClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698