Use SkPicture::ExtractBitmap callback in pdf too, there is no need for a specialized...
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Oct 2013 19:29:21 +0000 (19:29 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Oct 2013 19:29:21 +0000 (19:29 +0000)
commit608ea6508ae2e9ea05ea863ba50fc27d44d2eae9
tree883b082511c8a08fbfea62c5b9a5fcec1ffecaac
parentf7f5b7c506e5809c178d57232b477849ea614de5
Use SkPicture::ExtractBitmap callback in pdf too, there is no need for a specialized function pointer for pdf only only to pass a rectangle, when we can use subseted bitmaps.

R=scroggo@google.com, reed@google.com, vandebo@chromium.org, bsalomon@google.com

Author: edisonn@google.com

Review URL: https://codereview.chromium.org/25054002

git-svn-id: http://skia.googlecode.com/svn/trunk@11591 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/gmmain.cpp
include/pdf/SkPDFDevice.h
src/pdf/SkPDFImage.cpp
src/pdf/SkPDFImage.h
tests/PDFPrimitivesTest.cpp
tools/PdfRenderer.h
tools/render_pdfs_main.cpp