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

Unified Diff: chrome/browser/apps/drive/drive_app_mapping.cc

Issue 2843813002: Remove SetWithoutPathExpansion (Closed)
Patch Set: Fix CrOS Error Created 3 years, 8 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
« no previous file with comments | « base/values.cc ('k') | chrome/browser/geolocation/chrome_access_token_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/drive/drive_app_mapping.cc
diff --git a/chrome/browser/apps/drive/drive_app_mapping.cc b/chrome/browser/apps/drive/drive_app_mapping.cc
index ea8fb0f8e5ce6d47f65a199c44f7bcccef7a0f0d..73820535bdd7900597554d58112b40ad9eba6f42 100644
--- a/chrome/browser/apps/drive/drive_app_mapping.cc
+++ b/chrome/browser/apps/drive/drive_app_mapping.cc
@@ -53,8 +53,8 @@ void DriveAppMapping::Add(const std::string& drive_app_id,
const std::string& chrome_app_id,
bool generated) {
DictionaryPrefUpdate update(prefs_, prefs::kAppLauncherDriveAppMapping);
- update->SetWithoutPathExpansion(
- drive_app_id, CreateInfoDict(chrome_app_id, generated).release());
+ update->SetWithoutPathExpansion(drive_app_id,
+ CreateInfoDict(chrome_app_id, generated));
}
void DriveAppMapping::Remove(const std::string& drive_app_id) {
« no previous file with comments | « base/values.cc ('k') | chrome/browser/geolocation/chrome_access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698