Bug 1287005 - Remove CRLF from sandboxBroker.cpp; r?gcp draft
authorGregory Szorc <gps@mozilla.com>
Thu, 14 Jul 2016 17:31:52 -0700
changeset 387896 e85424cfa8c5c4dac3f91800951b9eb410ffbc69
parent 387895 5534514f13d1644ce9bd7c059200695b25f661be
child 387897 3bdf5d38d9a32a9784c5dbaa6c06b25aea713d4d
child 387899 abf9565b38d419a10cd093b55038dd965c712ce6
push id23096
push userbmo:gps@mozilla.com
push dateFri, 15 Jul 2016 00:33:25 +0000
reviewersgcp
bugs1287005
milestone50.0a1
Bug 1287005 - Remove CRLF from sandboxBroker.cpp; r?gcp MozReview-Commit-ID: 3TL2r6L8NSP
security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
--- a/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
+++ b/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
@@ -117,17 +117,17 @@ SandboxBroker::SetSecurityLevelForConten
     delayedIntegrityLevel = sandbox::INTEGRITY_LEVEL_LOW;
   } else if (aSandboxLevel == 1) {
     jobLevel = sandbox::JOB_NONE;
     accessTokenLevel = sandbox::USER_NON_ADMIN;
     initialIntegrityLevel = sandbox::INTEGRITY_LEVEL_LOW;
     delayedIntegrityLevel = sandbox::INTEGRITY_LEVEL_LOW;
   }
 
-  sandbox::ResultCode result = mPolicy->SetJobLevel(jobLevel,
+  sandbox::ResultCode result = mPolicy->SetJobLevel(jobLevel,
                                                     0 /* ui_exceptions */);
   MOZ_RELEASE_ASSERT(sandbox::SBOX_ALL_OK == result,
                      "Setting job level failed, have you set memory limit when jobLevel == JOB_NONE?");
 
   result = mPolicy->SetTokenLevel(sandbox::USER_RESTRICTED_SAME_ACCESS,
                                   accessTokenLevel);
   MOZ_RELEASE_ASSERT(sandbox::SBOX_ALL_OK == result,
                      "Lockdown level cannot be USER_UNPROTECTED or USER_LAST if initial level was USER_RESTRICTED_SAME_ACCESS");