diff options
author | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-09 01:11:20 +0000 |
---|---|---|
committer | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-09 01:11:20 +0000 |
commit | 34ab461562084b37c395af0c197b86431d3df6bb (patch) | |
tree | 0f2942518e5224968f78bcb2d688ca4ad0df3498 /content/browser/renderer_host | |
parent | 010791dcdbfb46d31846a486790650f8dc38aa5a (diff) | |
download | chromium_src-34ab461562084b37c395af0c197b86431d3df6bb.zip chromium_src-34ab461562084b37c395af0c197b86431d3df6bb.tar.gz chromium_src-34ab461562084b37c395af0c197b86431d3df6bb.tar.bz2 |
Revert 88309 - Introduced additional spellcheck related histograms.
I revert this because of the lack of appropriate review.
This change added:
- "SpellCheck.SuggestionHitRatio" (percentage)
- "SpellCheck.SuggestionHitRatio" (boolean)
TEST=manual
TBR=darin
BUG=none
Review URL: http://codereview.chromium.org/7121006
TBR=morrita@chromium.org
Review URL: http://codereview.chromium.org/6995099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host')
-rw-r--r-- | content/browser/renderer_host/render_view_host.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc index 45838fe..1e91447 100644 --- a/content/browser/renderer_host/render_view_host.cc +++ b/content/browser/renderer_host/render_view_host.cc @@ -16,7 +16,6 @@ #include "base/utf_string_conversions.h" #include "base/values.h" #include "chrome/browser/profiles/profile.h" -#include "chrome/browser/spellcheck_host.h" #include "content/browser/browser_message_filter.h" #include "content/browser/child_process_security_policy.h" #include "content/browser/content_browser_client.h" @@ -961,12 +960,6 @@ void RenderViewHost::OnMsgContextMenu(const ContextMenuParams& params) { FilterURL(policy, renderer_id, &validated_params.frame_url); view->ShowContextMenu(validated_params); - - Profile* profile = process()->profile(); - DCHECK(profile); - if (!validated_params.dictionary_suggestions.empty() && - profile->GetSpellCheckHost()) - profile->GetSpellCheckHost()->RecordSuggestionStats(1); } void RenderViewHost::OnMsgOpenURL(const GURL& url, |