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

Unified Diff: components/nacl/loader/nacl_main.cc

Issue 1221333008: Fix unused private field errors in components/nacl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_private_fields
Patch Set: rename Created 5 years, 5 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 | components/nacl/loader/nacl_main_platform_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_main.cc
diff --git a/components/nacl/loader/nacl_main.cc b/components/nacl/loader/nacl_main.cc
index 9139c70b28d753e4d483358a1b48634d04f83095..f0c7cbfbb135929af32cfca6a27e56228bbca623 100644
--- a/components/nacl/loader/nacl_main.cc
+++ b/components/nacl/loader/nacl_main.cc
@@ -29,7 +29,7 @@ int NaClMain(const content::MainFunctionParams& parameters) {
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
defined(OS_ANDROID)
- NaClMainPlatformDelegate platform(parameters);
+ NaClMainPlatformDelegate platform;
bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox);
#if defined(OS_POSIX)
@@ -39,7 +39,7 @@ int NaClMain(const content::MainFunctionParams& parameters) {
#endif
if (!no_sandbox) {
- platform.EnableSandbox();
+ platform.EnableSandbox(parameters);
}
NaClListener listener;
#if defined(OS_POSIX)
« no previous file with comments | « no previous file | components/nacl/loader/nacl_main_platform_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698