Files
pkgsrc-ng/devel/xulrunner192/patches/patch-xpcom_base_nsAutoRef.h
2013-09-26 17:14:40 +02:00

23 lines
541 B
C

$NetBSD: patch-xpcom_base_nsAutoRef.h,v 1.1 2012/11/18 01:55:52 joerg Exp $
--- xpcom/base/nsAutoRef.h.orig 2012-11-17 16:43:33.000000000 +0000
+++ xpcom/base/nsAutoRef.h
@@ -323,7 +323,7 @@ protected:
void SafeAddRef()
{
if (this->HaveResource())
- AddRef(this->get());
+ this->AddRef(this->get());
}
};
@@ -690,7 +690,7 @@ protected:
void SafeRelease()
{
if (this->HaveResource())
- Release(this->get());
+ this->Release(this->get());
}
};