Reland "SkPDF: Annotations are clipped by canvas clip stack."
authorwangxianzhu <wangxianzhu@chromium.org>
Sat, 18 Jul 2015 00:23:15 +0000 (17:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 18 Jul 2015 00:23:15 +0000 (17:23 -0700)
commitd76665da1c93372720506ce7763cc810223ee9ee
tree4bc7faa02e7a47c18893e844f3ba9dd5f0b6d3fa
parent97a26d04e2a9324e7fc84c8a78d399e3484c9f50
Reland "SkPDF: Annotations are clipped by canvas clip stack."

Original patch was created by halcanary@google.com, and was reverted
because it triggered crbug.com/503541.

This patch fixes a bug in the original patch about clip path
transformation.

> Also, remove some SkPDFDevice functions.
> Will fix this GM: http://crrev.com/1159273003
> BUG=skia:3872
> Review URL: https://codereview.chromium.org/1148263005

BUG=skia:3872
BUG=503514

Review URL: https://codereview.chromium.org/1238503007
gm/annotated_text.cpp
src/pdf/SkPDFDevice.cpp
src/pdf/SkPDFDevice.h