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

Unified Diff: third_party/crashpad/crashpad/handler/main.cc

Issue 2814043003: Update Crashpad to 1f28a123a4c9449e3d7ddad4ff00dacd366d5216 (Closed)
Patch Set: Add missing GN config to fix compile/link. Created 3 years, 8 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: third_party/crashpad/crashpad/handler/main.cc
diff --git a/third_party/crashpad/crashpad/handler/main.cc b/third_party/crashpad/crashpad/handler/main.cc
index 7a169e2d896e76f4093b0310cde5f78d472f23bf..bc4ab99b671e0b8fb362e3ef2159a80ad5c67c3d 100644
--- a/third_party/crashpad/crashpad/handler/main.cc
+++ b/third_party/crashpad/crashpad/handler/main.cc
@@ -23,10 +23,18 @@
#if defined(OS_MACOSX)
int main(int argc, char* argv[]) {
- return crashpad::HandlerMain(argc, argv);
+ return crashpad::HandlerMain(argc, argv, nullptr);
}
#elif defined(OS_WIN)
+namespace {
+
+int HandlerMainAdaptor(int argc, char* argv[]) {
+ return crashpad::HandlerMain(argc, argv, nullptr);
+}
+
+} // namespace
+
int APIENTRY wWinMain(HINSTANCE, HINSTANCE, wchar_t*, int) {
- return crashpad::ToolSupport::Wmain(__argc, __wargv, crashpad::HandlerMain);
+ return crashpad::ToolSupport::Wmain(__argc, __wargv, HandlerMainAdaptor);
}
#endif // OS_MACOSX

Powered by Google App Engine
This is Rietveld 408576698