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

Unified Diff: chrome/browser/spellchecker/spellcheck_host_metrics.cc

Issue 368133005: Fixes for re-enabling more MSVC level 4 warnings: chrome/browser/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment Created 6 years, 5 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/browser/spellchecker/spellcheck_host_metrics.cc
diff --git a/chrome/browser/spellchecker/spellcheck_host_metrics.cc b/chrome/browser/spellchecker/spellcheck_host_metrics.cc
index 6e4f134bdd233d4a21681a441b0648a9beee6615..4d997f08c335b0b8151ffb78ac403acce25de2a3 100644
--- a/chrome/browser/spellchecker/spellcheck_host_metrics.cc
+++ b/chrome/browser/spellchecker/spellcheck_host_metrics.cc
@@ -39,7 +39,7 @@ void SpellCheckHostMetrics::RecordEnabledStats(bool enabled) {
// custom dictionary is unknown at this time. We mark it as -1 and
// record actual value later. See SpellCheckHost for more detail.
if (enabled)
- RecordCustomWordCountStats(-1);
+ RecordCustomWordCountStats(static_cast<size_t>(-1));
}
void SpellCheckHostMetrics::RecordCheckedWordStats(const base::string16& word,
« no previous file with comments | « chrome/browser/sessions/session_backend.cc ('k') | chrome/browser/sync/test/integration/typed_urls_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698