# HG changeset patch # User Toshihito Kikuchi # Date 1588867789 25200 # Thu May 07 09:09:49 2020 -0700 # Node ID 29fbfefe6f5f533fb5aa4339015cea4746ad6493 # Parent 044c15e89ecca19afc1750c439f4e82879679462 Remove Extraneous Backslash Introduced by clang-tidy in ScopedHandle. r=bobowen Need the following commit to compile with Mingw, which has not reached the stable channel yet. https://chromium.googlesource.com/chromium/src.git/+/1620fe70c299f1f18b2f2c652d16739f6e3c5f78 diff --git a/security/sandbox/chromium/base/win/scoped_handle.h b/security/sandbox/chromium/base/win/scoped_handle.h --- a/security/sandbox/chromium/base/win/scoped_handle.h +++ b/security/sandbox/chromium/base/win/scoped_handle.h @@ -15,17 +15,17 @@ #include "base/macros.h" // TODO(rvargas): remove this with the rest of the verifier. #if defined(COMPILER_MSVC) #include #define BASE_WIN_GET_CALLER _ReturnAddress() #elif defined(COMPILER_GCC) #define BASE_WIN_GET_CALLER \ - __builtin_extract_return_addr(\ __builtin_return_address(0)) + __builtin_extract_return_addr(__builtin_return_address(0)) #endif namespace base { namespace win { // Generic wrapper for raw handles that takes care of closing handles // automatically. The class interface follows the style of // the ScopedFILE class with two additions: