toolkit/library/nsGFXDeps.cpp
author Daniel Holbert <dholbert@cs.stanford.edu>
Tue, 29 Jan 2013 09:01:10 -0800
changeset 120243 bf9886e0d35620c31ed2586a4a2fc8c316ddaa5e
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 835692: Convert TransportLayerDtls::kMaxDigestLength to be a size_t, since that's how it's used & what it's compared to. r=ekr

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsRegion.h"

void xxxGFXNeverCalled()
{
    nsRegion a;
    nsRect r;
    nsRegion b(r);
    nsRegion c(a);
    c.And(a,b);
    c.And(a,r);
    c.And(r,a);
    c.Or(a,b);
    c.Or(a,r);
    c.Sub(a,b);
    c.Sub(r,a);
    c.IsEmpty();
    c.GetBounds();
    c.GetNumRects();
    c.MoveBy(0,0);
    c.MoveBy(nsPoint());
    c.SetEmpty();
    c.SimplifyInward(0);
    c.SimplifyOutward(0);
    
    
    nsRegionRectIterator i(a);
    i.Next();
    i.Prev();
    i.Reset();
}