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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.cc

Issue 2152373003: [Extensions] Code Cleanup - Remove redundant smart-ptr get()s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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/file_system/file_system_api.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
index e241caa364d39bde2c5349acbad8da05adcbacc4..f3c085237a5ed3e356d9d5476aac69cf5e7b0c01 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
@@ -196,7 +196,7 @@ bool GetFileTypesFromAcceptOption(
return false;
if (accept_option.description.get())
- *description = base::UTF8ToUTF16(*accept_option.description.get());
+ *description = base::UTF8ToUTF16(*accept_option.description);
else if (description_id)
*description = l10n_util::GetStringUTF16(description_id);

Powered by Google App Engine
This is Rietveld 408576698