From bd7726282836dc39fe7829db7363032ec272ed26 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 28 Aug 2018 12:40:57 +0200 Subject: Update to 62.0 --- mozilla-1460605-1.patch | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 mozilla-1460605-1.patch (limited to 'mozilla-1460605-1.patch') diff --git a/mozilla-1460605-1.patch b/mozilla-1460605-1.patch deleted file mode 100644 index 70806bf..0000000 --- a/mozilla-1460605-1.patch +++ /dev/null @@ -1,40 +0,0 @@ - -# HG changeset patch -# User Martin Stransky -# Date 1525961643 -7200 -# Node ID c085f9360dfa4d0fc3d04d6db40d37e1369616b3 -# Parent acaaa40ebdf142fda38d5661f7631f029a2406c6 -Bug 1460605 - Use NS_NATIVE_EGL_WINDOW instead of NS_NATIVE_WINDOW on GTK r=lsalzman - -Original patch author is Takuro Ashie - -NS_NATIVE_EGL_WINDOW is exported by Gtk toolkit code and provides both X11 window -handle for X11 Gtk backend and EGL window handle for Wayland backend. - -MozReview-Commit-ID: DEmlaLL7zGY - -diff --git a/gfx/gl/GLContextProviderEGL.cpp b/gfx/gl/GLContextProviderEGL.cpp ---- a/gfx/gl/GLContextProviderEGL.cpp -+++ b/gfx/gl/GLContextProviderEGL.cpp -@@ -1,18 +1,16 @@ - /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ - /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - - #if defined(MOZ_WIDGET_GTK) -- #include -- // we're using default display for now -- #define GET_NATIVE_WINDOW_FROM_REAL_WIDGET(aWidget) ((EGLNativeWindowType)GDK_WINDOW_XID((GdkWindow*)aWidget->GetNativeData(NS_NATIVE_WINDOW))) -- #define GET_NATIVE_WINDOW_FROM_COMPOSITOR_WIDGET(aWidget) ((EGLNativeWindowType)GDK_WINDOW_XID((GdkWindow*)aWidget->RealWidget()->GetNativeData(NS_NATIVE_WINDOW))) -+ #define GET_NATIVE_WINDOW_FROM_REAL_WIDGET(aWidget) ((EGLNativeWindowType)aWidget->GetNativeData(NS_NATIVE_EGL_WINDOW)) -+ #define GET_NATIVE_WINDOW_FROM_COMPOSITOR_WIDGET(aWidget) ((EGLNativeWindowType)aWidget->RealWidget()->GetNativeData(NS_NATIVE_EGL_WINDOW)) - #elif defined(MOZ_WIDGET_ANDROID) - #define GET_NATIVE_WINDOW_FROM_REAL_WIDGET(aWidget) ((EGLNativeWindowType)aWidget->GetNativeData(NS_JAVA_SURFACE)) - #define GET_NATIVE_WINDOW_FROM_COMPOSITOR_WIDGET(aWidget) (aWidget->AsAndroid()->GetEGLNativeWindow()) - #elif defined(XP_WIN) - #define GET_NATIVE_WINDOW_FROM_REAL_WIDGET(aWidget) ((EGLNativeWindowType)aWidget->GetNativeData(NS_NATIVE_WINDOW)) - #define GET_NATIVE_WINDOW_FROM_COMPOSITOR_WIDGET(aWidget) ((EGLNativeWindowType)aWidget->AsWindows()->GetHwnd()) - #else - #define GET_NATIVE_WINDOW_FROM_REAL_WIDGET(aWidget) ((EGLNativeWindowType)aWidget->GetNativeData(NS_NATIVE_WINDOW)) - -- cgit