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

Unified Diff: components/content_settings/core/browser/content_settings_registry.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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/content_settings/core/browser/content_settings_registry.cc
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
index 2eff2dab7e85b704c4ed0f75b40d8d9dc7296e93..a2d547cb09f1b69bd0b4481d52776e0a72484c91 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -323,7 +323,7 @@ void ContentSettingsRegistry::Register(
// Ensure that nothing has been registered yet for the given type.
DCHECK(!website_settings_registry_->Get(type));
std::unique_ptr<base::Value> default_value(
- new base::FundamentalValue(static_cast<int>(initial_default_value)));
+ new base::Value(static_cast<int>(initial_default_value)));
const WebsiteSettingsInfo* website_settings_info =
website_settings_registry_->Register(
type, name, std::move(default_value), sync_status,

Powered by Google App Engine
This is Rietveld 408576698