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

Unified Diff: chrome/browser/extensions/menu_manager.h

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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/menu_manager.h
diff --git a/chrome/browser/extensions/menu_manager.h b/chrome/browser/extensions/menu_manager.h
index 3a97c5852e11fadce8ff57a80d8a9664f93e294b..ea44054259da7d515916337cdac1fc5581e05f31 100644
--- a/chrome/browser/extensions/menu_manager.h
+++ b/chrome/browser/extensions/menu_manager.h
@@ -146,7 +146,7 @@ class MenuItem {
std::unique_ptr<base::Value> ToValue() const {
return std::unique_ptr<base::Value>(
- new base::FundamentalValue(static_cast<int>(value_)));
+ new base::Value(static_cast<int>(value_)));
}
bool Populate(const base::Value& value) {
« no previous file with comments | « chrome/browser/extensions/launch_util.cc ('k') | chrome/browser/extensions/scripting_permissions_modifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698