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

Unified Diff: content/common/sandbox_win.cc

Issue 2249673006: Merge M52: Ignore desktop creation errors in the sandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 4 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 | « no previous file | sandbox/win/src/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_win.cc
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
index 35c33d597cc2a730df0c55f89cfa67fb6ea27f5f..a3f5d01efb4c66f9d0ee5cfb746ca0d0ef6ea89d 100644
--- a/content/common/sandbox_win.cc
+++ b/content/common/sandbox_win.cc
@@ -410,8 +410,9 @@ sandbox::ResultCode AddPolicyForSandboxedProcess(
result = policy->SetAlternateDesktop(true);
if (result != sandbox::SBOX_ALL_OK) {
+ // Ignore the result of setting the alternate desktop.
DLOG(WARNING) << "Failed to apply desktop security to the renderer";
- return result;
+ result = sandbox::SBOX_ALL_OK;
}
return result;
« no previous file with comments | « no previous file | sandbox/win/src/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698