Bug 1329428 - Fix strict warning about undefined QueryInterface. r=ssitter
authorPhilipp Kewisch <mozilla@kewis.ch>
Thu, 23 Mar 2017 17:06:17 +0100
changeset 28025 f75de20dabbedbd9a74860a7aa48b99bfea2c2b0
parent 28024 a7ea8205ae23402b55499a7363f85b1de3c691f4
child 28026 4fe008f7971338f29b231a2f6550ab81d3871d69
push id1966
push userclokep@gmail.com
push dateMon, 12 Jun 2017 16:57:35 +0000
treeherdercomm-beta@32d9b8d10da1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersssitter
bugs1329428
Bug 1329428 - Fix strict warning about undefined QueryInterface. r=ssitter MozReview-Commit-ID: Gzs985uKArx
calendar/base/content/calendar-task-tree.xml
--- a/calendar/base/content/calendar-task-tree.xml
+++ b/calendar/base/content/calendar-task-tree.xml
@@ -333,16 +333,18 @@
         <parameter name="aEvent"/>
         <body><![CDATA[
           return this.mTreeView._getItemFromEvent(aEvent);
         ]]></body>
       </method>
 
       <field name="mTreeView"><![CDATA[
       ({
+          QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsITreeView]),
+
           /**
            * Attributes
            */
 
           // back reference to the binding
           binding: this,
           tree: null,
           treebox: null,