Bug 1105109 - Have nsIDOMWindowUtils.getPresShellId() return the pres shell id via the return value rather than an out-parameter. r=kats draft
authorBotond Ballo <botond@mozilla.com>
Mon, 19 Jun 2017 18:02:38 -0400
changeset 617929 15e9d42d1600ed1124f13a419dc3c722591b3a44
parent 617928 3d0a92cb9f7dd850d25d6d7b5fbe6eb3291e0d67
child 617930 38ead9a235ac31e2d07f8ee2a8fba206fbcf4ba9
push id71164
push userbballo@mozilla.com
push dateSat, 29 Jul 2017 00:34:06 +0000
reviewerskats
bugs1105109
milestone56.0a1
Bug 1105109 - Have nsIDOMWindowUtils.getPresShellId() return the pres shell id via the return value rather than an out-parameter. r=kats MozReview-Commit-ID: C8GU2HW7NCH
dom/interfaces/base/nsIDOMWindowUtils.idl
--- a/dom/interfaces/base/nsIDOMWindowUtils.idl
+++ b/dom/interfaces/base/nsIDOMWindowUtils.idl
@@ -254,17 +254,17 @@ interface nsIDOMWindowUtils : nsISupport
    * Whether the next paint should be flagged as the first paint for a document.
    * This gives a way to track the next paint that occurs after the flag is
    * set. The flag gets cleared after the next paint.
    *
    * Can only be accessed with chrome privileges.
    */
   attribute boolean isFirstPaint;
 
-  void getPresShellId(out uint32_t aPresShellId);
+  uint32_t getPresShellId();
 
   /**
    * Following modifiers are for sent*Event() except sendNative*Event().
    * NOTE: MODIFIER_ALT, MODIFIER_CONTROL, MODIFIER_SHIFT and MODIFIER_META
    *       are must be same values as nsIDOMNSEvent::*_MASK for backward
    *       compatibility.
    */
   const long MODIFIER_ALT        = 0x0001;