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

Unified Diff: content/browser/webui/web_ui_data_source_impl.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 years 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 | « content/browser/webrtc/webrtc_internals_browsertest.cc ('k') | content/child/v8_value_converter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_data_source_impl.cc
diff --git a/content/browser/webui/web_ui_data_source_impl.cc b/content/browser/webui/web_ui_data_source_impl.cc
index 2d6d24a916d5f43ec1a34d25881678357dd0c934..4c425804d24ed39805bea2b27f5acadc7dc9230e 100644
--- a/content/browser/webui/web_ui_data_source_impl.cc
+++ b/content/browser/webui/web_ui_data_source_impl.cc
@@ -131,7 +131,7 @@ void WebUIDataSourceImpl::AddLocalizedStrings(
for (base::DictionaryValue::Iterator it(localized_strings); !it.IsAtEnd();
it.Advance()) {
- if (it.value().IsType(base::Value::TYPE_STRING)) {
+ if (it.value().IsType(base::Value::Type::STRING)) {
std::string value;
it.value().GetAsString(&value);
replacements_[it.key()] = value;
« no previous file with comments | « content/browser/webrtc/webrtc_internals_browsertest.cc ('k') | content/child/v8_value_converter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698