Index: content/renderer/render_thread_impl.h |
=================================================================== |
--- content/renderer/render_thread_impl.h (revision 158860) |
+++ content/renderer/render_thread_impl.h (working copy) |
@@ -48,9 +48,12 @@ |
namespace base { |
class MessageLoopProxy; |
class Thread; |
+ |
+#if defined(OS_WIN) |
namespace win { |
class ScopedCOMInitializer; |
} |
+#endif |
} |
namespace IPC { |
@@ -340,8 +343,10 @@ |
// Used on multiple script execution context threads. |
scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
- // Initialize COM when using plugins outside the sandbox (Windows only). |
+#if defined(OS_WIN) |
+ // Initialize COM when using plugins outside the sandbox. |
scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; |
+#endif |
// The count of RenderWidgets running through this thread. |
int widget_count_; |