Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3727a7fa authored by Matt Sarett's avatar Matt Sarett
Browse files

Remove dead code from NinePatch::Draw

This will give me the flexibility to change this API.

Change-Id: I1ee34986e37fffeb03b8a349f29923541f95b593
parent e97cbea8
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -111,15 +111,6 @@ void NinePatch::Draw(SkCanvas* canvas, const SkRect& bounds,
   
    const int32_t* xDivs = chunk.getXDivs();
    const int32_t* yDivs = chunk.getYDivs();
    // if our SkCanvas were back by GL we should enable this and draw this as
    // a mesh, which will be faster in most cases.
    if ((false)) {
        SkNinePatch::DrawMesh(canvas, bounds, bitmap,
                              xDivs, chunk.numXDivs,
                              yDivs, chunk.numYDivs,
                              paint);
        return;
    }

    if (kUseTrace) {
        gTrace = true;