зеркало из https://github.com/mozilla/pjs.git
Fix for OS/2 and AIX bustage
This commit is contained in:
Родитель
dc4374766a
Коммит
48030d96bb
|
@ -535,7 +535,7 @@ public:
|
||||||
* @see nsISupports#Release()
|
* @see nsISupports#Release()
|
||||||
*/
|
*/
|
||||||
nsresult GetStyleContext(nsIStyleContext** aStyleContext) const {
|
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) {
|
nsresult SetStyleContext(nsIPresContext* aPresContext, nsIStyleContext* aContext) {
|
||||||
if (aContext != mStyleContext) {
|
if (aContext != mStyleContext) {
|
||||||
|
|
|
@ -535,7 +535,7 @@ public:
|
||||||
* @see nsISupports#Release()
|
* @see nsISupports#Release()
|
||||||
*/
|
*/
|
||||||
nsresult GetStyleContext(nsIStyleContext** aStyleContext) const {
|
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) {
|
nsresult SetStyleContext(nsIPresContext* aPresContext, nsIStyleContext* aContext) {
|
||||||
if (aContext != mStyleContext) {
|
if (aContext != mStyleContext) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче