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

Unified Diff: chrome/browser/extensions/api/settings_private/settings_private_delegate.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: chrome/browser/extensions/api/settings_private/settings_private_delegate.cc
diff --git a/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc b/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc
index 1311f2f9cee6f06355e9c0cdb81092eda979ca71..539f94b58cb704a6db7c77069d5a4f56c8ed4670 100644
--- a/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc
+++ b/chrome/browser/extensions/api/settings_private/settings_private_delegate.cc
@@ -61,7 +61,7 @@ PrefsUtil::SetPrefResult SettingsPrivateDelegate::SetPref(
std::unique_ptr<base::Value> SettingsPrivateDelegate::GetDefaultZoom() {
double zoom = content::ZoomLevelToZoomFactor(
profile_->GetZoomLevelPrefs()->GetDefaultZoomLevelPref());
- std::unique_ptr<base::Value> value(new base::FundamentalValue(zoom));
+ std::unique_ptr<base::Value> value(new base::Value(zoom));
return value;
}

Powered by Google App Engine
This is Rietveld 408576698