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

Unified Diff: chrome/browser/media_galleries/media_galleries_scan_result_controller.cc

Issue 352393002: Be explicit about target type in platform_util::OpenItem() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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/media_galleries/media_galleries_scan_result_controller.cc
diff --git a/chrome/browser/media_galleries/media_galleries_scan_result_controller.cc b/chrome/browser/media_galleries/media_galleries_scan_result_controller.cc
index 3b39a44cf3dbb2c7682db574eaa76d887f2b6440..222418232b8a882b60951bfea8cd8c8dc45027b1 100644
--- a/chrome/browser/media_galleries/media_galleries_scan_result_controller.cc
+++ b/chrome/browser/media_galleries/media_galleries_scan_result_controller.cc
@@ -186,7 +186,8 @@ void MediaGalleriesScanResultController::DidClickOpenFolderViewer(
NOTREACHED();
return;
}
- platform_util::OpenItem(GetProfile(), entry->second.pref_info.AbsolutePath());
+ platform_util::OpenFolder(GetProfile(),
+ entry->second.pref_info.AbsolutePath());
}
void MediaGalleriesScanResultController::DidForgetEntry(

Powered by Google App Engine
This is Rietveld 408576698