Index: chrome/renderer/render_process.cc |
=================================================================== |
--- chrome/renderer/render_process.cc (revision 11593) |
+++ chrome/renderer/render_process.cc (working copy) |
@@ -106,7 +106,6 @@ |
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 @@ |
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); |
} |