Index: chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
index 40aad4966cb84d783a1a7d9ad2be4bc3858cda2b..09e9c7fdbd1bf425de2e59887b70d1c445c6d893 100644 |
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
@@ -384,7 +384,7 @@ void WallpaperPrivateSetWallpaperIfExistsFunction::OnWallpaperDecoded( |
base::Time::Now().LocalMidnight() |
}; |
wallpaper_manager->SetUserWallpaperInfo(user_id_, info, is_persistent); |
- SetResult(base::Value::CreateBooleanValue(true)); |
+ SetResult(new base::FundamentalValue(true)); |
Profile* profile = Profile::FromBrowserContext(browser_context()); |
// This API is only available to the component wallpaper picker. We do not |
// need to show the app's name if it is the component wallpaper picker. So set |
@@ -396,7 +396,7 @@ void WallpaperPrivateSetWallpaperIfExistsFunction::OnWallpaperDecoded( |
void WallpaperPrivateSetWallpaperIfExistsFunction::OnFileNotExists( |
const std::string& error) { |
- SetResult(base::Value::CreateBooleanValue(false)); |
+ SetResult(new base::FundamentalValue(false)); |
OnFailure(error); |
} |