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

Side by Side Diff: tools/CrashHandler.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « tests/SubsetPath.cpp ('k') | tools/gpu/GrTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "CrashHandler.h" 8 #include "CrashHandler.h"
9 9
10 #include "SkTypes.h" 10 #include "../private/SkLeanWindows.h"
11 11
12 #include <stdlib.h> 12 #include <stdlib.h>
13 13
14 // Disable SetupCrashHandler() unless SK_CRASH_HANDLER is defined. 14 // Disable SetupCrashHandler() unless SK_CRASH_HANDLER is defined.
15 #ifndef SK_CRASH_HANDLER 15 #ifndef SK_CRASH_HANDLER
16 void SetupCrashHandler() { } 16 void SetupCrashHandler() { }
17 17
18 #elif defined(GOOGLE3) 18 #elif defined(GOOGLE3)
19 #include "base/process_state.h" 19 #include "base/process_state.h"
20 void SetupCrashHandler() { InstallSignalHandlers(); } 20 void SetupCrashHandler() { InstallSignalHandlers(); }
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 void SetupCrashHandler() { 183 void SetupCrashHandler() {
184 SetUnhandledExceptionFilter(handler); 184 SetUnhandledExceptionFilter(handler);
185 } 185 }
186 186
187 #else // We asked for SK_CRASH_HANDLER, but it's not Mac, Linux, or Windows . Sorry! 187 #else // We asked for SK_CRASH_HANDLER, but it's not Mac, Linux, or Windows . Sorry!
188 188
189 void SetupCrashHandler() { } 189 void SetupCrashHandler() { }
190 190
191 #endif 191 #endif
192 #endif // SK_CRASH_HANDLER 192 #endif // SK_CRASH_HANDLER
OLDNEW
« no previous file with comments | « tests/SubsetPath.cpp ('k') | tools/gpu/GrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698