Rename ScopedWindowsThreadEnvironment::succeeded() to Succeeded()
https://chromium-review.googlesource.com/742447
This commit is contained in:
parent
1ac0ab2b71
commit
7ca1b0704d
1 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,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 false;
|
return false;
|
||||||
|
|
||||||
base::FilePath dir = full_path.DirName().AsEndingWithSeparator();
|
base::FilePath dir = full_path.DirName().AsEndingWithSeparator();
|
||||||
|
@ -354,7 +354,7 @@ void OpenExternal(const base::string16& url,
|
||||||
|
|
||||||
bool MoveItemToTrash(const base::FilePath& path) {
|
bool MoveItemToTrash(const base::FilePath& path) {
|
||||||
base::win::ScopedCOMInitializer com_initializer;
|
base::win::ScopedCOMInitializer com_initializer;
|
||||||
if (!com_initializer.succeeded())
|
if (!com_initializer.Succeeded())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
Microsoft::WRL::ComPtr<IFileOperation> pfo;
|
Microsoft::WRL::ComPtr<IFileOperation> pfo;
|
||||||
|
|
Loading…
Reference in a new issue