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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider.cc

Issue 2034153002: Makes RenderFrameObserver/RenderViewObserver::OnDestruct pure virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_provider.h ('k') | chromecast/renderer/cast_media_load_deferrer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spellcheck_provider.cc
diff --git a/chrome/renderer/spellchecker/spellcheck_provider.cc b/chrome/renderer/spellchecker/spellcheck_provider.cc
index 576460e8dbe025b12abf2170c26ccb7e76a7883e..5afa759ab0294426830951448e60ed19fb6828bb 100644
--- a/chrome/renderer/spellchecker/spellcheck_provider.cc
+++ b/chrome/renderer/spellchecker/spellcheck_provider.cc
@@ -349,3 +349,7 @@ bool SpellCheckProvider::SatisfyRequestFromCache(
return false;
}
+
+void SpellCheckProvider::OnDestruct() {
+ delete this;
+}
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_provider.h ('k') | chromecast/renderer/cast_media_load_deferrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698