From e9630da9df95febef1d84b23cfcd79e33ef224e0 Mon Sep 17 00:00:00 2001 From: Mark Capella Date: Tue, 10 Apr 2012 14:55:18 +0900 Subject: [PATCH] Bug 741709 - nsAccessibleWrap::get_accParent() shouldn't use do_QueryObject, r=tbsaunde --- accessible/src/msaa/nsAccessibleWrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/src/msaa/nsAccessibleWrap.cpp b/accessible/src/msaa/nsAccessibleWrap.cpp index 76fb4584148..dc00a185785 100644 --- a/accessible/src/msaa/nsAccessibleWrap.cpp +++ b/accessible/src/msaa/nsAccessibleWrap.cpp @@ -170,7 +170,7 @@ __try { if (IsDefunct()) return CO_E_OBJNOTCONNECTED; - nsRefPtr doc(do_QueryObject(this)); + nsDocAccessible* doc = AsDoc(); if (doc) { // Return window system accessible object for root document and tab document // accessibles.