#if defined(OS_WIN)
+#if !defined(ADDRESS_SANITIZER)
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t*, int) {
+#else
+// The AddressSanitizer build should be a console program as it prints out stuff
+// on stderr.
+int main() {
+ HINSTANCE instance = GetModuleHandle(NULL);
+#endif
sandbox::SandboxInterfaceInfo sandbox_info = {0};
content::InitializeSandboxInfo(&sandbox_info);
content::ShellMainDelegate delegate;