7c73d57863
* Successor of devel/xulrunner, xulrunner-10.0.2. * This is ESR (Extended Support Release) version. * Fix security bugs
22 lines
765 B
C++
22 lines
765 B
C++
$NetBSD: patch-ipc_chromium_src_base_message__loop.cc,v 1.1.1.1 2012/03/15 08:58:28 ryoon Exp $
|
|
|
|
--- ipc/chromium/src/base/message_loop.cc.orig 2012-03-09 22:20:16.000000000 +0000
|
|
+++ ipc/chromium/src/base/message_loop.cc
|
|
@@ -19,7 +19,7 @@
|
|
#if defined(OS_POSIX)
|
|
#include "base/message_pump_libevent.h"
|
|
#endif
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
#ifdef MOZ_WIDGET_GTK2
|
|
#include "base/message_pump_glib.h"
|
|
#endif
|
|
@@ -119,7 +119,7 @@ MessageLoop::MessageLoop(Type type)
|
|
if (type_ == TYPE_UI) {
|
|
#if defined(OS_MACOSX)
|
|
pump_ = base::MessagePumpMac::Create();
|
|
-#elif defined(OS_LINUX)
|
|
+#elif defined(OS_LINUX) || defined(OS_BSD)
|
|
pump_ = new base::MessagePumpForUI();
|
|
#endif // OS_LINUX
|
|
} else if (type_ == TYPE_IO) {
|