| Index: runtime/bin/utils_win.h
|
| diff --git a/runtime/bin/utils_win.h b/runtime/bin/utils_win.h
|
| index 2f63faf129759f4296b255a7a1dc1d9fdeddef76..a46bbb83988bf75cd63533a0bc6f7de00d8f6d12 100644
|
| --- a/runtime/bin/utils_win.h
|
| +++ b/runtime/bin/utils_win.h
|
| @@ -43,8 +43,8 @@ class StringUtilsWin {
|
| class WideToUtf8Scope {
|
| public:
|
| explicit WideToUtf8Scope(const wchar_t* wide) {
|
| - intptr_t utf8_len = WideCharToMultiByte(
|
| - CP_UTF8, 0, wide, -1, NULL, 0, NULL, NULL);
|
| + intptr_t utf8_len =
|
| + WideCharToMultiByte(CP_UTF8, 0, wide, -1, NULL, 0, NULL, NULL);
|
| char* utf8 = new char[utf8_len];
|
| WideCharToMultiByte(CP_UTF8, 0, wide, -1, utf8, utf8_len, NULL, NULL);
|
| length_ = utf8_len;
|
| @@ -77,9 +77,7 @@ class Utf8ToWideScope {
|
| wide_ = wide;
|
| }
|
|
|
| - ~Utf8ToWideScope() {
|
| - delete[] wide_;
|
| - }
|
| + ~Utf8ToWideScope() { delete[] wide_; }
|
|
|
| wchar_t* wide() const { return wide_; }
|
| intptr_t length() const { return length_; }
|
|
|