aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-04-27 07:45:18 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-27 07:45:18 -0700
commit4b6566644f704cf9e30c71fa547c9b5915752792 (patch)
treef670fd01006423b2282ce74a80921aea121a77cf /bench
parentd1556071715d28217b7c64774335fcce2cbf46c6 (diff)
SkDocument/PDF: new API
Diffstat (limited to 'bench')
-rw-r--r--bench/PDFBench.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bench/PDFBench.cpp b/bench/PDFBench.cpp
index e3505450d2..76ee3cad0d 100644
--- a/bench/PDFBench.cpp
+++ b/bench/PDFBench.cpp
@@ -182,7 +182,8 @@ struct PDFShaderBench : public Benchmark {
SkASSERT(fShader);
while (loops-- > 0) {
NullWStream nullStream;
- SkPDFDocument doc(&nullStream, nullptr, 72, nullptr, false);
+ SkPDFDocument doc(&nullStream, nullptr, 72,
+ SkDocument::PDFMetadata(), nullptr, false);
sk_sp<SkPDFObject> shader(
SkPDFShader::GetPDFShader(
&doc, 72, fShader.get(), SkMatrix::I(),