diff --git a/atom/common/platform_util_win.cc b/atom/common/platform_util_win.cc index 114672e5f8e9..193e2ece0042 100644 --- a/atom/common/platform_util_win.cc +++ b/atom/common/platform_util_win.cc @@ -238,7 +238,7 @@ namespace platform_util { bool ShowItemInFolder(const base::FilePath& full_path) { base::win::ScopedCOMInitializer com_initializer; - if (!com_initializer.succeeded()) + if (!com_initializer.Succeeded()) return false; base::FilePath dir = full_path.DirName().AsEndingWithSeparator(); @@ -354,7 +354,7 @@ void OpenExternal(const base::string16& url, bool MoveItemToTrash(const base::FilePath& path) { base::win::ScopedCOMInitializer com_initializer; - if (!com_initializer.succeeded()) + if (!com_initializer.Succeeded()) return false; Microsoft::WRL::ComPtr pfo;