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

Unified Diff: components/translate/core/browser/translate_ui_delegate.h

Issue 371113002: Fixes for re-enabling more MSVC level 4 warnings: components/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix compile failure 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: components/translate/core/browser/translate_ui_delegate.h
diff --git a/components/translate/core/browser/translate_ui_delegate.h b/components/translate/core/browser/translate_ui_delegate.h
index 2ab8068272d72f64e4f2065711b1a84df8e225aa..aaf6303de23da3f97a8c064b334e25522e80239a 100644
--- a/components/translate/core/browser/translate_ui_delegate.h
+++ b/components/translate/core/browser/translate_ui_delegate.h
@@ -24,7 +24,7 @@ class TranslatePrefs;
// feature to the user.
class TranslateUIDelegate {
public:
- enum { NO_INDEX = -1, };
+ static const size_t kNoIndex = static_cast<size_t>(-1);
TranslateUIDelegate(const base::WeakPtr<TranslateManager>& translate_manager,
const std::string& original_language,

Powered by Google App Engine
This is Rietveld 408576698