pkgsrc/www/firefox/patches/patch-ipc_chromium_src_base_message__loop.cc
ryoon f2a3afeb54 Update to 30.0
* debug build is broken

Changelog:
    New
    Sidebars button in browser chrome enables faster access to social, bookmark, & history sidebars

    New
    Mac OS X command-E sets find term to selected text

    New
    Support for GStreamer 1.0

    Changed
    Disallow calling WebIDL constructors as functions on the web

    Developer
    With the exception of those bundled inside an extension or ones that are whitelisted, plugins will no longer be activated by default (see blog post)

    Developer
    Fixes to box-shadow and other visual overflow (see bug 480888)

    Developer
    Mute and volume available per window when using WebAudio

    Developer
    background-blend-mode enabled by default

    Developer
    Use of line-height allowed for <input type="reset|button|submit">

    Developer
    ES6 array and generator comprehensions implemented (read docs for more details)

    Developer
    Error stack now contains column number

    Developer
    Support for alpha option in canvas context options (feature description)

    Fixed
    Ignore autocomplete="off" when offering to save passwords via the password manager (see 956906)

    Fixed
    TypedArrays don't support new named properties (see 695438)

    Fixed
    Various security fixes

Fixed in Firefox 30
MFSA 2014-54 Buffer overflow in Gamepad API
MFSA 2014-53 Buffer overflow in Web Audio Speex resampler
MFSA 2014-52 Use-after-free with SMIL Animation Controller
MFSA 2014-51 Use-after-free in Event Listener Manager
MFSA 2014-50 Clickjacking through cursor invisability after Flash interaction
MFSA 2014-49 Use-after-free and out of bounds issues found using Address Sanitizer
MFSA 2014-48 Miscellaneous memory safety hazards (rv:30.0 / rv:24.6)
2014-06-11 00:40:59 +00:00

40 lines
1.2 KiB
C++

$NetBSD: patch-ipc_chromium_src_base_message__loop.cc,v 1.2 2014/06/11 00:40:59 ryoon Exp $
Don't assume cocoa toolkit just because OS_ARCH is Darwin.
--- ipc/chromium/src/base/message_loop.cc.orig 2014-05-29 23:30:52.000000000 +0000
+++ ipc/chromium/src/base/message_loop.cc
@@ -14,20 +14,18 @@
#include "base/string_util.h"
#include "base/thread_local.h"
-#if defined(OS_MACOSX)
+#if defined(MOZ_WIDGET_COCOA)
#include "base/message_pump_mac.h"
#endif
#if defined(OS_POSIX)
#include "base/message_pump_libevent.h"
#endif
-#if defined(OS_LINUX) || defined(OS_BSD)
#if defined(MOZ_WIDGET_GTK)
#include "base/message_pump_glib.h"
#endif
#ifdef MOZ_WIDGET_QT
#include "base/message_pump_qt.h"
#endif
-#endif
#ifdef ANDROID
#include "base/message_pump_android.h"
#endif
@@ -135,9 +133,9 @@ MessageLoop::MessageLoop(Type type)
}
#elif defined(OS_POSIX)
if (type_ == TYPE_UI) {
-#if defined(OS_MACOSX)
+#if defined(MOZ_WIDGET_COCOA)
pump_ = base::MessagePumpMac::Create();
-#elif defined(OS_LINUX) || defined(OS_BSD)
+#elif defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_QT)
pump_ = new base::MessagePumpForUI();
#endif // OS_LINUX
} else if (type_ == TYPE_IO) {