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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 111613005: Start removing support for in-process NPAPI plugins. This was a debugging mode and was only support… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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: content/renderer/render_thread_impl.cc
===================================================================
--- content/renderer/render_thread_impl.cc (revision 242534)
+++ content/renderer/render_thread_impl.cc (working copy)
@@ -115,7 +115,6 @@
#if defined(OS_WIN)
#include <windows.h>
#include <objbase.h>
-#include "base/win/scoped_com_initializer.h"
#else
// TODO(port)
#include "base/memory/scoped_handle.h"
@@ -321,13 +320,6 @@
lazy_tls.Pointer()->Set(this);
-#if defined(OS_WIN)
- // If you are running plugins in this thread you need COM active but in
- // the normal case you don't.
- if (RenderProcessImpl::InProcessPlugins())
- initialize_com_.reset(new base::win::ScopedCOMInitializer());
-#endif
-
// Register this object as the main thread.
ChildProcess::current()->set_main_thread(this);

Powered by Google App Engine
This is Rietveld 408576698