Fix naming conflict in //third_party/cacheinvalidation.
On Windows builds, the method name Scheduler::GetCurrentTime() conflicts with the GetCurrentTime() macro defined in //base/win/windows_types.h. Scheduler::GetCurrentTime() is referenced in a MOCK_CONST_METHOD0 macro, which has been re-implemented recently in googletest. Under the new implementation, the naming conflict results in the compilation error in in https://crbug.com/1070043#c2. This CL fixes the naming conflict by renaming Scheduler::GetCurrentTime(). No behavior changes are expected. Bug: 1070043 Change-Id: Ifd9040083b948ed457ddeb156677cfa84ff331c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146350Reviewed-by:Tommy Nyquist <nyquist@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#758745}
Showing
Please register or sign in to comment