~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to layout/style/nsCSSValue.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2008-07-29 21:29:02 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080729212902-spm9kpvchp9udwbw
Tags: 1.1.11+nobinonly-0ubuntu1
* New security upstream release: 1.1.11 (LP: #218534)
  Fixes USN-602-1, USN-619-1, USN-623-1 and USN-629-1
* Refresh diverged patch:
  - update debian/patches/80_security_build.patch
* Fix FTBFS with missing -lfontconfig
  - add debian/patches/11_fix_ftbfs_with_fontconfig.patch
  - update debian/patches/series
* Build with default gcc (hardy: 4.2, intrepid: 4.3)
  - update debian/rules
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
    }
323
323
 
324
324
    void AddRef() {
 
325
      if (mRefCnt == PR_UINT16_MAX) {
 
326
        NS_WARNING("refcount overflow, leaking nsCSSValue::Array");
 
327
        return;
 
328
      }
325
329
      ++mRefCnt;
326
330
      NS_LOG_ADDREF(this, mRefCnt, "nsCSSValue::Array", sizeof(*this));
327
331
    }
328
332
    void Release() {
 
333
      if (mRefCnt == PR_UINT16_MAX) {
 
334
        NS_WARNING("refcount overflow, leaking nsCSSValue::Array");
 
335
        return;
 
336
      }
329
337
      --mRefCnt;
330
338
      NS_LOG_RELEASE(this, mRefCnt, "nsCSSValue::Array");
331
339
      if (mRefCnt == 0)