summaryrefslogtreecommitdiff
path: root/mozilla-1461306.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-08-28 12:40:57 +0200
committerMartin Stransky <stransky@redhat.com>2018-08-28 12:40:57 +0200
commitbd7726282836dc39fe7829db7363032ec272ed26 (patch)
treee3b34257b58c850f543711e5462518df3c031193 /mozilla-1461306.patch
parentAdded patches for mozbz#1427700 and mozbz#1463809 (diff)
downloadlibrewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.tar.gz
librewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.tar.bz2
librewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.zip
Update to 62.0
Diffstat (limited to 'mozilla-1461306.patch')
-rw-r--r--mozilla-1461306.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/mozilla-1461306.patch b/mozilla-1461306.patch
deleted file mode 100644
index 84ee6c6..0000000
--- a/mozilla-1461306.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-
-# HG changeset patch
-# User Martin Stransky <stransky@redhat.com>
-# Date 1526299286 -7200
-# Node ID 6495ae9d01e06109539413c538fd25ed942f6eb8
-# Parent 67553a1262de53d0ec85fdfcf1a2b55631eaca44
-Bug 1461306 - [Wayland] Don't use sizeof() to get mime type array size, r=jhorak
-
-MozReview-Commit-ID: GE5helkqoUt
-
-diff --git a/widget/gtk/nsClipboardWayland.cpp b/widget/gtk/nsClipboardWayland.cpp
---- a/widget/gtk/nsClipboardWayland.cpp
-+++ b/widget/gtk/nsClipboardWayland.cpp
-@@ -723,17 +723,17 @@ const char*
- nsRetrievalContextWayland::GetClipboardText(int32_t aWhichClipboard)
- {
- GdkAtom selection = GetSelectionAtom(aWhichClipboard);
- DataOffer* dataOffer = (selection == GDK_SELECTION_PRIMARY) ?
- mPrimaryOffer : mClipboardOffer;
- if (!dataOffer)
- return nullptr;
-
-- for (unsigned int i = 0; i < sizeof(sTextMimeTypes); i++) {
-+ for (unsigned int i = 0; i < TEXT_MIME_TYPES_NUM; i++) {
- if (dataOffer->HasTarget(sTextMimeTypes[i])) {
- uint32_t unused;
- return GetClipboardData(sTextMimeTypes[i], aWhichClipboard,
- &unused);
- }
- }
- return nullptr;
- }
-
bgstack15