~mozillateam/firefox/firefox-beta.xenial

« back to all changes in this revision

Viewing changes to debian/patches/unity-menubar.patch

  • Committer: Rico Tzschichholz
  • Date: 2023-08-17 12:33:35 UTC
  • Revision ID: ricotz@ubuntu.com-20230817123335-ue6mxecvyvronlxr
* New upstream release from the beta channel (FIREFOX_117_0b8_BUILD1)
* Do not build pixman with NEON on armhf
  - debian/patches/armhf-do-not-build-pixman-with-neon.patch
* Update cbindgen to 0.24.5
  - debian/build/create-tarball.py
* Update patches
  - debian/patches/silence-gtk-style-assertions.patch
  - debian/patches/libpixman-disable-vmx.patch
* v4l2test is available on arm64 and armhf
  - debian/firefox.install.in
* Update patches
  - debian/patches/unity-menubar.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
+pref("ui.use_unity_menubar", true);
106
106
+#endif
107
107
 
108
 
 // min font device pixel size at which to turn on high quality
109
 
 pref("browser.display.auto_quality_min_font_size", 20);
 
108
 // See http://whatwg.org/specs/web-apps/current-work/#ping
 
109
 pref("browser.send_pings", false);
110
110
--- a/toolkit/content/xul.css
111
111
+++ b/toolkit/content/xul.css
112
112
@@ -229,6 +229,13 @@ toolbox {
4426
4426
+    static void RemoveUpdateBlocker();
4427
4427
+
4428
4428
+    nsCOMPtr<nsIContent> mRootNode;
4429
 
+    mozilla::dom::Document *mDocument;
 
4429
+    nsCOMPtr<mozilla::dom::Document> mDocument;
4430
4430
+    nsIContent *mLastSource;
4431
4431
+    nsNativeMenuChangeObserver *mLastTarget;
4432
4432
+    nsTArray<mozilla::UniquePtr<MutationRecord> > mPendingMutations;
5266
5266
 // {F6CD4F21-53AF-11d2-8DC4-00609703C14E}
5267
5267
 #define NS_POPUPMENU_CID                           \
5268
5268
   {                                                \
 
5269
--- a/xpcom/base/nsCOMPtr.h
 
5270
+++ b/xpcom/base/nsCOMPtr.h
 
5271
@@ -815,10 +815,10 @@
 
5272
                                  const nsIID& aIID) {
 
5273
   // Allow QIing to nsISupports from nsISupports as a special-case, since
 
5274
   // SameCOMIdentity uses it.
 
5275
-  static_assert(
 
5276
-      std::is_same_v<T, nsISupports> ||
 
5277
-          !(std::is_same_v<T, U> || std::is_base_of<T, U>::value),
 
5278
-      "don't use do_QueryInterface for compile-time-determinable casts");
 
5279
+  // static_assert(
 
5280
+  //     std::is_same_v<T, nsISupports> ||
 
5281
+  //         !(std::is_same_v<T, U> || std::is_base_of<T, U>::value),
 
5282
+  //     "don't use do_QueryInterface for compile-time-determinable casts");
 
5283
   void* newRawPtr;
 
5284
   if (NS_FAILED(aQI(aIID, &newRawPtr))) {
 
5285
     newRawPtr = nullptr;