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

Unified Diff: client/simulate_crash_mac.cc

Issue 1058523002: Add ConstThreadState to mach_extensions.h and use it everywhere (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: clang-unformat Created 5 years, 9 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
« no previous file with comments | « no previous file | client/simulate_crash_mac_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/simulate_crash_mac.cc
diff --git a/client/simulate_crash_mac.cc b/client/simulate_crash_mac.cc
index 053b50a26d730c08515a7602a08d4bdeb3982baa..cdcf662d68ed16e7707b0a32a74cd0b420b1bae8 100644
--- a/client/simulate_crash_mac.cc
+++ b/client/simulate_crash_mac.cc
@@ -70,9 +70,6 @@ bool DeliverException(thread_t thread,
set_state = false;
}
- // A const version of thread_state_t.
- using ConstThreadState = const natural_t*;
-
// old_state is only used if the context already captured doesn’t match (or
// can’t be converted to) what’s registered for the handler.
thread_state_data_t old_state;
« no previous file with comments | « no previous file | client/simulate_crash_mac_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698