diff --git a/mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp b/mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp index 8c032ff1fbf..2bc60804485 100644 --- a/mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp +++ b/mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp @@ -1742,10 +1742,10 @@ nsXPCWrappedJSClass::DebugDump(PRInt16 depth) if(depth) { uint16 i; - nsIInterfaceInfo* parent; + nsCOMPtr parent; XPC_LOG_INDENT(); - mInfo->GetParent(&parent); - XPC_LOG_ALWAYS(("parent @ %x", parent)); + mInfo->GetParent(getter_AddRefs(parent)); + XPC_LOG_ALWAYS(("parent @ %x", parent.get())); mInfo->GetMethodCount(&methodCount); XPC_LOG_ALWAYS(("MethodCount = %d", methodCount)); mInfo->GetConstantCount(&i);