Add missing return value

This commit is contained in:
Kevin Sawicki 2016-09-12 14:33:22 -07:00
parent 00d0887cab
commit 07304e5950

View file

@ -206,7 +206,7 @@ namespace platform_util {
bool ShowItemInFolder(const base::FilePath& full_path) { bool ShowItemInFolder(const base::FilePath& full_path) {
base::win::ScopedCOMInitializer com_initializer; base::win::ScopedCOMInitializer com_initializer;
if (!com_initializer.succeeded()) if (!com_initializer.succeeded())
return; return false;
base::FilePath dir = full_path.DirName().AsEndingWithSeparator(); base::FilePath dir = full_path.DirName().AsEndingWithSeparator();
// ParseDisplayName will fail if the directory is "C:", it must be "C:\\". // ParseDisplayName will fail if the directory is "C:", it must be "C:\\".