Fix for OS/2 and AIX bustage
git-svn-id: svn://10.0.0.236/trunk@106188 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0a9bd3f85d
commit
0b0e2dd7c9
@ -535,7 +535,7 @@ public:
|
||||
* @see nsISupports#Release()
|
||||
*/
|
||||
nsresult GetStyleContext(nsIStyleContext** aStyleContext) const {
|
||||
NS_IF_ADDREF(mStyleContext); *aStyleContext = mStyleContext; return NS_OK;
|
||||
*aStyleContext = mStyleContext; NS_IF_ADDREF(*aStyleContext); return NS_OK;
|
||||
}
|
||||
nsresult SetStyleContext(nsIPresContext* aPresContext, nsIStyleContext* aContext) {
|
||||
if (aContext != mStyleContext) {
|
||||
|
||||
@ -535,7 +535,7 @@ public:
|
||||
* @see nsISupports#Release()
|
||||
*/
|
||||
nsresult GetStyleContext(nsIStyleContext** aStyleContext) const {
|
||||
NS_IF_ADDREF(mStyleContext); *aStyleContext = mStyleContext; return NS_OK;
|
||||
*aStyleContext = mStyleContext; NS_IF_ADDREF(*aStyleContext); return NS_OK;
|
||||
}
|
||||
nsresult SetStyleContext(nsIPresContext* aPresContext, nsIStyleContext* aContext) {
|
||||
if (aContext != mStyleContext) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user