• Adrienne Walker's avatar
    Remove PlaybackPaintRecord function · 15ce2350
    Adrienne Walker authored
    This function was added temporarily to work around the extra clip that
    SkCanvas::drawPicture adds and to turn calls into playback in this
    patch: https://codereview.chromium.org/2755183002
    
    As PaintRecord is now its own class and is not an SkPicture, these
    functions can all change back to drawPicture.  The underlying derived
    types in SkiaPaintCanvas and PaintOpBuffer call playback instead of
    drawPicture so this is a noop.
    
    This patch is just cleaning up a confusing helper that's not needed.
    
    Bug: 702577
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
    Change-Id: I45746132861b23e799995c83d2e58dee1c0ee10d
    Reviewed-on: https://chromium-review.googlesource.com/498855Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
    Reviewed-by: default avatarMichael Wasserman <msw@chromium.org>
    Commit-Queue: enne <enne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#471201}
    15ce2350
skia_paint_canvas.cc 8.43 KB