Rename ScopedWindowsThreadEnvironment::succeeded() to Succeeded()

https://chromium-review.googlesource.com/742447
This commit is contained in:
Tomas Rycl 2018-04-19 14:34:07 +02:00 committed by Samuel Attard
parent 1ac0ab2b71
commit 7ca1b0704d

View file

@ -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<IFileOperation> pfo;