VirtualBox

Ignore:
Timestamp:
Mar 13, 2013 8:58:12 PM (12 years ago)
Author:
vboxsync
Message:

Main/drv*: s/pData/pThis/g.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/PCIRawDevImpl.cpp

    r45029 r45030  
    119119{
    120120    PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns);
    121     PDRVMAINPCIRAWDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV);
    122 
    123     if (pData->pPCIRawDev)
    124         pData->pPCIRawDev->mpDrv = NULL;
     121    PDRVMAINPCIRAWDEV pThis = PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV);
     122
     123    if (pThis->pPCIRawDev)
     124        pThis->pPCIRawDev->mpDrv = NULL;
    125125}
    126126
     
    132132{
    133133    PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);
    134     PDRVMAINPCIRAWDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV);
     134    PDRVMAINPCIRAWDEV pThis = PDMINS_2_DATA(pDrvIns, PDRVMAINPCIRAWDEV);
    135135
    136136    /*
     
    152152     * IConnector.
    153153     */
    154     pData->IConnector.pfnDeviceConstructComplete = PCIRawDev::drvDeviceConstructComplete;
     154    pThis->IConnector.pfnDeviceConstructComplete = PCIRawDev::drvDeviceConstructComplete;
    155155
    156156    /*
     
    165165    }
    166166
    167     pData->pPCIRawDev = (PCIRawDev *)pv;
    168     pData->pPCIRawDev->mpDrv = pData;
     167    pThis->pPCIRawDev = (PCIRawDev *)pv;
     168    pThis->pPCIRawDev->mpDrv = pThis;
    169169
    170170    return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette