Commit 1cd80df3 authored by Xi Cheng's avatar Xi Cheng Committed by Commit Bot

Use global namespace for Windows APIs

Change-Id: I8d7607fa1735d75cb1cc22c61dff5aa8aca8ed4c
Reviewed-on: https://chromium-review.googlesource.com/1090322Reviewed-by: default avatarMike Wittman <wittman@chromium.org>
Commit-Queue: Xi Cheng <chengx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565448}
parent 1366dbe6
...@@ -67,7 +67,7 @@ PRUNTIME_FUNCTION Win32UnwindFunctions::LookupFunctionEntry( ...@@ -67,7 +67,7 @@ PRUNTIME_FUNCTION Win32UnwindFunctions::LookupFunctionEntry(
DWORD64 program_counter, DWORD64 program_counter,
PDWORD64 image_base) { PDWORD64 image_base) {
#ifdef _WIN64 #ifdef _WIN64
return RtlLookupFunctionEntry(program_counter, image_base, nullptr); return ::RtlLookupFunctionEntry(program_counter, image_base, nullptr);
#else #else
NOTREACHED(); NOTREACHED();
return nullptr; return nullptr;
...@@ -82,9 +82,9 @@ void Win32UnwindFunctions::VirtualUnwind(DWORD64 image_base, ...@@ -82,9 +82,9 @@ void Win32UnwindFunctions::VirtualUnwind(DWORD64 image_base,
void* handler_data; void* handler_data;
ULONG64 establisher_frame; ULONG64 establisher_frame;
KNONVOLATILE_CONTEXT_POINTERS nvcontext = {}; KNONVOLATILE_CONTEXT_POINTERS nvcontext = {};
RtlVirtualUnwind(UNW_FLAG_NHANDLER, image_base, program_counter, ::RtlVirtualUnwind(UNW_FLAG_NHANDLER, image_base, program_counter,
runtime_function, context, &handler_data, runtime_function, context, &handler_data,
&establisher_frame, &nvcontext); &establisher_frame, &nvcontext);
#else #else
NOTREACHED(); NOTREACHED();
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment