Optionally enable SkValidatingReadBuffer in SkPictureImageFilter
authorrobertphillips <robertphillips@google.com>
Fri, 22 Apr 2016 18:40:42 +0000 (11:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 Apr 2016 18:40:42 +0000 (11:40 -0700)
commit99e20891a080f39113bd7a5dc202730f2a13fa07
treeeae76639aa318242684f77e548ad164e9efad006
parent1c2a2fe3c81af0d5b35224dc06cbd1a82a474ec7
Optionally enable SkValidatingReadBuffer in SkPictureImageFilter

The task here is to get the type of ReadBuffer being used in SkPicture::MakeFromBuffer mirrored in the down-stack SkPicturePlayback::draw call.

BUG=skia:5208

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1918433002

Review URL: https://codereview.chromium.org/1918433002
include/core/SkPicture.h
src/core/SkPicture.cpp
src/core/SkPicturePlayback.cpp
src/core/SkPicturePlayback.h
src/core/SkReadBuffer.h
src/core/SkValidatingReadBuffer.h