Bug 1502704, overlay scrollbars don't fade out properly as no QI to nsStyledElement is available r=peterv
authorNeil Deakin <neil@mozilla.com>
Mon, 29 Oct 2018 07:00:00 +0200
changeset 503371 2b13a09333e79d452555cff461b645e214639b4b
parent 503370 d32110a492f5eece3697fd039d53dba247f9f202
child 503372 b3ceae83e290925f754544cff4d30ef4de9ab399
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspeterv
bugs1502704
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1502704, overlay scrollbars don't fade out properly as no QI to nsStyledElement is available r=peterv
dom/xul/nsXULElement.cpp
--- a/dom/xul/nsXULElement.cpp
+++ b/dom/xul/nsXULElement.cpp
@@ -322,17 +322,17 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION
       CustomElementRegistry::CallGetCustomInterface(this, aIID);
     if (iface) {
       iface->QueryInterface(aIID, aInstancePtr);
       if (*aInstancePtr) {
         return NS_OK;
       }
     }
 
-NS_INTERFACE_MAP_END_INHERITING(Element)
+NS_INTERFACE_MAP_END_INHERITING(nsStyledElement)
 
 //----------------------------------------------------------------------
 // nsINode interface
 
 nsresult
 nsXULElement::Clone(mozilla::dom::NodeInfo* aNodeInfo, nsINode** aResult) const
 {
     *aResult = nullptr;