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

Unified Diff: content/app/mojo/mojo_init.cc

Issue 1537593002: Fix UAF in new Mojo EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | mojo/edk/system/broker.h » ('j') | mojo/edk/system/routed_raw_channel.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/mojo/mojo_init.cc
diff --git a/content/app/mojo/mojo_init.cc b/content/app/mojo/mojo_init.cc
index b289aa738b8bcdc26973c15c2a5088f80988c884..07e4d5aaa4d55bfa1dc66a8fd51a0e766e1e7db3 100644
--- a/content/app/mojo/mojo_init.cc
+++ b/content/app/mojo/mojo_init.cc
@@ -26,7 +26,7 @@ class MojoInitializer {
*base::CommandLine::ForCurrentProcess();
std::string process_type =
command_line.GetSwitchValueASCII(switches::kProcessType);
- if (0 && process_type.empty() && !command_line.HasSwitch("use-old-edk")) {
+ if (process_type.empty() && !command_line.HasSwitch("use-old-edk")) {
base::CommandLine::ForCurrentProcess()->AppendSwitch(
"use-new-edk");
}
« no previous file with comments | « no previous file | mojo/edk/system/broker.h » ('j') | mojo/edk/system/routed_raw_channel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698