Bug 1035786 - Fix member variable initialisation order in LogMessage stub in Linux Sandbox.cpp. r=jld
authorBob Owen <bobowencode@gmail.com>
Wed, 09 Jul 2014 12:32:49 +0100
changeset 193958 a2dde11f99061e3c0956069bdd09200056afa22c
parent 193957 8c5aedf77376eed5633201824592ca88dfdf436b
child 193959 78ebcfff12347b6cd921ddb8d240a89912b106d3
push id46246
push usercbook@mozilla.com
push dateTue, 15 Jul 2014 07:27:39 +0000
treeherdermozilla-inbound@9362c5739379 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjld
bugs1035786
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1035786 - Fix member variable initialisation order in LogMessage stub in Linux Sandbox.cpp. r=jld
security/sandbox/linux/Sandbox.cpp
--- a/security/sandbox/linux/Sandbox.cpp
+++ b/security/sandbox/linux/Sandbox.cpp
@@ -436,17 +436,17 @@ Die::SandboxDie(const char* msg, const c
 } // namespace sandbox
 
 
 // Stubs for unreached logging calls from Chromium CHECK() macro.
 #include "base/logging.h"
 namespace logging {
 
 LogMessage::LogMessage(const char *file, int line, int)
-  : line_(line), file_(file)
+  : file_(file), line_(line)
 {
   MOZ_CRASH("Unexpected call to logging::LogMessage::LogMessage");
 }
 
 LogMessage::~LogMessage() {
   MOZ_CRASH("Unexpected call to logging::LogMessage::~LogMessage");
 }