summaryrefslogtreecommitdiff
path: root/test/perf-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf-test.cc')
-rw-r--r--test/perf-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index 45961d31..b6fb8f89 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -431,7 +431,7 @@ SplashOutputDev * PdfEnginePoppler::outputDevice() {
GBool bitmapTopDown = gTrue;
_outputDev = new SplashOutputDev(gSplashColorMode, 4, gFalse, gBgColor, bitmapTopDown);
if (_outputDev)
- _outputDev->startDoc(_pdfDoc->getXRef());
+ _outputDev->startDoc(_pdfDoc);
}
return _outputDev;
}