Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(513)

Unified Diff: src/core/model/command-line.cc

Issue 342120043: New patch for core module changes (Closed)
Patch Set: Updated core patch Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/model/command-line.cc
===================================================================
--- a/src/core/model/command-line.cc
+++ b/src/core/model/command-line.cc
@@ -50,6 +50,11 @@
m_nonOptionCount (0)
{
NS_LOG_FUNCTION (this);
+
+#ifdef _WIN32
+ m_ch.SetProcessExceptionHandlers ();
+ m_ch.SetThreadExceptionHandlers ();
+#endif
}
CommandLine::CommandLine (const CommandLine &cmd)
{
@@ -78,6 +83,9 @@
m_NNonOptions = cmd.m_NNonOptions;
m_usage = cmd.m_usage;
m_name = cmd.m_name;
+#ifdef _WIN32
+ m_ch = cmd.m_ch;
+#endif
}
void
CommandLine::Clear (void)

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b