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 446935 2b13a09333e7
parent 446934 d32110a492f5
child 446936 b3ceae83e290
push id35059
push usercbrindusan@mozilla.com
push dateSun, 18 Nov 2018 11:17:46 +0000
treeherdermozilla-central@b3ceae83e290 [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;