Bustage fix.
authorPeter Van der Beken <peterv@propagandism.org>
Sun, 15 Nov 2009 16:27:30 +0100
changeset 34887 f5e9a2ded6785ffad000bbb32c8f22924b854b28
parent 34886 63236b18c64e2112779bc29eea11014eea8b6731
child 34888 d7c52410fa6aa5d81eb17659847f2292a26c46d3
push idunknown
push userunknown
push dateunknown
milestone1.9.3a1pre
Bustage fix.
accessible/src/base/nsRootAccessible.cpp
--- a/accessible/src/base/nsRootAccessible.cpp
+++ b/accessible/src/base/nsRootAccessible.cpp
@@ -299,17 +299,17 @@ nsresult nsRootAccessible::AddEventListe
   // non chrome document fire untrusted events.
   nsCOMPtr<nsIDOMNSEventTarget> nstarget(do_QueryInterface(mDocument));
 
   if (nstarget) {
     for (const char* const* e = docEvents,
                    * const* e_end = docEvents + NS_ARRAY_LENGTH(docEvents);
          e < e_end; ++e) {
       nsresult rv = nstarget->AddEventListener(NS_ConvertASCIItoUTF16(*e),
-                                               this, PR_TRUE, PR_TRUE);
+                                               this, PR_TRUE, PR_TRUE, 1);
       NS_ENSURE_SUCCESS(rv, rv);
     }
   }
 
   nsCOMPtr<nsIDOMEventTarget> target;
   GetChromeEventHandler(getter_AddRefs(target));
   if (target) {
     target->AddEventListener(NS_LITERAL_STRING("pagehide"), this, PR_TRUE);