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

Unified Diff: util/win/ntstatus_logging.cc

Issue 1426493002: win: Fix NTSTATUS_LOG for no-function arg version of COMPACT_GOOGLE_LOG_EX_ (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 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
« no previous file with comments | « util/win/ntstatus_logging.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/ntstatus_logging.cc
diff --git a/util/win/ntstatus_logging.cc b/util/win/ntstatus_logging.cc
index 6a2abee0d3968fbd9c5ebc9f057cb4ca907606df..4c243cc5752ae4e8b8d797cf48a19dc53b17e5b1 100644
--- a/util/win/ntstatus_logging.cc
+++ b/util/win/ntstatus_logging.cc
@@ -43,16 +43,22 @@ std::string FormatNtstatus(DWORD ntstatus) {
namespace logging {
-NtstatusLogMessage::NtstatusLogMessage(const char* function,
- const char* file_path,
- int line,
- LogSeverity severity,
- DWORD ntstatus)
+NtstatusLogMessage::NtstatusLogMessage(
+#if defined(MINI_CHROMIUM_BASE_LOGGING_H_)
+ const char* function,
+#endif
+ const char* file_path,
+ int line,
+ LogSeverity severity,
+ DWORD ntstatus)
: LogMessage(
#if defined(MINI_CHROMIUM_BASE_LOGGING_H_)
- function,
+ function,
#endif
- file_path, line, severity), ntstatus_(ntstatus) {
+ file_path,
+ line,
+ severity),
+ ntstatus_(ntstatus) {
}
NtstatusLogMessage::~NtstatusLogMessage() {
« no previous file with comments | « util/win/ntstatus_logging.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698