Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: components/crash/app/breakpad_win.cc

Issue 637023002: Misc. cleanup, primarily removing unused locals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove macros.h change Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/crash/app/breakpad_win.cc
diff --git a/components/crash/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc
index 5fe19c4d187bfa721b1f488bca4a290aee814d99..32c48915426e717a294d273cc2317305f9e1b3bd 100644
--- a/components/crash/app/breakpad_win.cc
+++ b/components/crash/app/breakpad_win.cc
@@ -375,6 +375,7 @@ extern "C" int __declspec(dllexport) CrashForException(
return EXCEPTION_CONTINUE_SEARCH;
}
+#ifndef _WIN64
static NTSTATUS WINAPI HookNtTerminateProcess(HANDLE ProcessHandle,
NTSTATUS ExitStatus) {
if (g_breakpad &&
@@ -440,6 +441,7 @@ static void InitTerminateProcessHooks() {
old_protect,
&old_protect));
}
+#endif
static void InitPipeNameEnvVar(bool is_per_user_install) {
scoped_ptr<base::Environment> env(base::Environment::Create());

Powered by Google App Engine
This is Rietveld 408576698