summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-05-16 15:13:12 +0200
committerAlbert Astals Cid <aacid@kde.org>2019-06-05 21:00:35 +0200
commit0c78e1efb6752161b8ed97b03e8d4f44827fca17 (patch)
tree7e0f8ec8aa68f76a51b67e19c82bd43fe1ae36dd /test
parent89bd3f1f1d60a99a8a3bb7ccd384a5e6e731e0d4 (diff)
-Wshadow renaming in perf-test
Diffstat (limited to 'test')
-rw-r--r--test/perf-test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index a727144e..83c8c5f8 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -934,10 +934,10 @@ static void RenderPdf(const char *fileName)
SplashBitmap *bmpSplash = nullptr;
- GooTimer msTimer;
+ GooTimer msRenderTimer;
bmpSplash = engineSplash->renderBitmap(curPage, 100.0, 0);
- msTimer.stop();
- double timeInMs = msTimer.getElapsed();
+ msRenderTimer.stop();
+ timeInMs = msRenderTimer.getElapsed();
if (gfTimings) {
if (!bmpSplash)
LogInfo("page splash %d: failed to render\n", curPage);