ae6e8f236b
time right now. Tree is still locked! Reasons for the update: - good work that can be used now - only builds on i386/amd64, and they're fast - multiple security problems in old chrome - old chrome half working, can't break it more than it was. This one requires resources (see MESSAGE), but it's ways more stable. Again, discussed with sthen@, jasper@, naddy@, miod@
22 lines
708 B
Plaintext
22 lines
708 B
Plaintext
$OpenBSD: patch-chrome_plugin_plugin_thread_cc,v 1.2 2011/02/08 09:43:02 espie Exp $
|
|
--- chrome/plugin/plugin_thread.cc.orig Fri Jan 21 10:20:26 2011
|
|
+++ chrome/plugin/plugin_thread.cc Sun Jan 23 23:27:33 2011
|
|
@@ -6,7 +6,7 @@
|
|
|
|
#include "build/build_config.h"
|
|
|
|
-#if defined(USE_X11)
|
|
+#if defined(TOOLKIT_USES_GTK)
|
|
#include <gtk/gtk.h>
|
|
#elif defined(OS_MACOSX)
|
|
#include <CoreFoundation/CoreFoundation.h>
|
|
@@ -57,7 +57,7 @@ PluginThread::PluginThread()
|
|
switches::kPluginPath);
|
|
|
|
lazy_tls.Pointer()->Set(this);
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(TOOLKIT_GTK)
|
|
{
|
|
// XEmbed plugins assume they are hosted in a Gtk application, so we need
|
|
// to initialize Gtk in the plugin process.
|