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..87fc794755a40c604b53ad34ff7bdbcd33523fd0 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* command_line = base::CommandLine::ForCurrentProcess(); |
+ if (!command_line->HasSwitch(switches::kSingleProcess)) |
crypto::InitNSSSafely(); |
#endif |
} |