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

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

Issue 10388186: RefCounted types should not have public destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: chrome/renderer/spellchecker/spellcheck.cc
diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc
index bdee0070c18ec03d0f9fc8ffd98a7f62afd4742a..732064544c3e760375d346540631d66346c754bd 100644
--- a/chrome/renderer/spellchecker/spellcheck.cc
+++ b/chrome/renderer/spellchecker/spellcheck.cc
@@ -76,6 +76,10 @@ class SpellCheck::SpellCheckRequestParam
}
private:
+ friend class base::RefCountedThreadSafe<SpellCheckRequestParam>;
+
+ ~SpellCheckRequestParam() {}
+
// Text to be checked in this task.
string16 text_;
« no previous file with comments | « chrome/browser/prerender/prerender_local_predictor.cc ('k') | content/browser/geolocation/geolocation_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698