Index: chromecast/renderer/cast_content_renderer_client.cc |
diff --git a/chromecast/renderer/cast_content_renderer_client.cc b/chromecast/renderer/cast_content_renderer_client.cc |
index 2a3c4d5bc778c2a5b5792a43e5a2b43559601c53..0ae84f819a83fa8310663c448aecd756e0bafec4 100644 |
--- a/chromecast/renderer/cast_content_renderer_client.cc |
+++ b/chromecast/renderer/cast_content_renderer_client.cc |
@@ -34,7 +34,8 @@ void CastContentRendererClient::RenderThreadStarted() { |
// On platforms where the system NSS shared libraries are used, |
// initialize NSS now because it won't be able to load the .so's |
// after entering the sandbox. |
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess)) |
+ base::CommandLine* commandLine = base::CommandLine::ForCurrentProcess(); |
gunsch
2014/11/18 15:36:35
naming style nit: command_line
|
+ if (!commandLine->HasSwitch(switches::kSingleProcess)) |
crypto::InitNSSSafely(); |
#endif |
} |