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

Unified Diff: content/browser/renderer_host/render_view_host.cc

Issue 6995099: Revert 88309 - Introduced additional spellcheck related histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/browser/spellcheck_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host.cc
===================================================================
--- content/browser/renderer_host/render_view_host.cc (revision 88455)
+++ content/browser/renderer_host/render_view_host.cc (working copy)
@@ -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 @@
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,
« no previous file with comments | « chrome/browser/spellcheck_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698