mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron.
This commit is contained in:
parent
32997b4aa1
commit
2063c40516
@ -66,7 +66,6 @@ public:
|
||||
--mRefCnt;
|
||||
NS_LOG_RELEASE(this, mRefCnt, "nsStyleContext");
|
||||
if (mRefCnt == 0) {
|
||||
mRefCnt = 1;
|
||||
Destroy();
|
||||
return 0;
|
||||
}
|
||||
|
@ -66,7 +66,6 @@ public:
|
||||
--mRefCnt;
|
||||
NS_LOG_RELEASE(this, mRefCnt, "nsStyleContext");
|
||||
if (mRefCnt == 0) {
|
||||
mRefCnt = 1;
|
||||
Destroy();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user