diff options
Diffstat (limited to 'chrome/renderer/render_process.cc')
-rw-r--r-- | chrome/renderer/render_process.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/renderer/render_process.cc b/chrome/renderer/render_process.cc index b93adf59..e8af233 100644 --- a/chrome/renderer/render_process.cc +++ b/chrome/renderer/render_process.cc @@ -106,7 +106,6 @@ RenderProcess::~RenderProcess() { void RenderProcess::Init() { in_process_plugins_ = InProcessPlugins(); - in_process_gears_ = false; for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i) shared_mem_cache_[i] = NULL; @@ -141,20 +140,6 @@ void RenderProcess::Init() { StatisticsRecorder::set_dump_on_exit(true); } - if (command_line.HasSwitch(switches::kGearsInRenderer)) { -#if defined(OS_WIN) - in_process_gears_ = true; - // Load gears.dll on startup so we can access it before the sandbox - // blocks us. - std::wstring path; - if (PathService::Get(chrome::FILE_GEARS_PLUGIN, &path)) - LoadLibrary(path.c_str()); -#else - // TODO(port) Need to handle loading gears on non-Windows platforms - NOTIMPLEMENTED(); -#endif - } - if (command_line.HasSwitch(switches::kEnableVideo) && LoadFFmpeg()) { webkit_glue::SetMediaPlayerAvailable(true); } |