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

Unified Diff: chrome/renderer/render_process.cc

Issue 42158: Get rid of the gears in renderer process code. This allows me to do some cle... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698