Commit 481e7dfb authored by Isaac Aggrey's avatar Isaac Aggrey
Browse files

Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan

parent 488cf539
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -955,7 +955,7 @@ nsAccessibilityService::GetOrCreateAccessible(nsINode* aNode,
  // Create accessible for visible text frames.
  if (content->IsNodeOfType(nsINode::eTEXT)) {
    nsAutoString text;
    weakFrame->GetRenderedText(&text, nullptr, nullptr, 0, PR_UINT32_MAX);
    weakFrame->GetRenderedText(&text, nullptr, nullptr, 0, UINT32_MAX);
    if (text.IsEmpty()) {
      if (aIsSubtreeHidden)
        *aIsSubtreeHidden = true;
+1 −1
Original line number Diff line number Diff line
@@ -452,7 +452,7 @@ public:
   *                        then text form start offset till the end is appended
   */
  virtual void AppendTextTo(nsAString& aText, uint32_t aStartOffset = 0,
                            uint32_t aLength = PR_UINT32_MAX);
                            uint32_t aLength = UINT32_MAX);

  /**
   * Assert if child not in parent's cache if the cache was initialized at this
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ public:
  // Accessible
  virtual mozilla::a11y::role NativeRole();
  virtual void AppendTextTo(nsAString& aText, uint32_t aStartOffset = 0,
                            uint32_t aLength = PR_UINT32_MAX);
                            uint32_t aLength = UINT32_MAX);
  virtual ENameValueFlag Name(nsString& aName);

  // TextLeafAccessible
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public:
  virtual a11y::role NativeRole();
  virtual uint64_t NativeState();
  virtual void AppendTextTo(nsAString& aText, uint32_t aStartOffset = 0,
                            uint32_t aLength = PR_UINT32_MAX);
                            uint32_t aLength = UINT32_MAX);

  // HTMLListBulletAccessible

+1 −1
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@ interface nsIScriptSecurityManager : nsIXPCSecurityManager


    const unsigned long NO_APP_ID = 0;
    const unsigned long UNKNOWN_APP_ID = 4294967295; // PR_UINT32_MAX
    const unsigned long UNKNOWN_APP_ID = 4294967295; // UINT32_MAX

    /**
     * Returns the extended origin for the uri.
Loading