| Index: tools/PictureBenchmark.cpp
|
| diff --git a/tools/PictureBenchmark.cpp b/tools/PictureBenchmark.cpp
|
| index f708f53613232e006d9ef73f16f3ef41dd372380..9a86d85f9b418d521f4439e382b1a80362313cd6 100644
|
| --- a/tools/PictureBenchmark.cpp
|
| +++ b/tools/PictureBenchmark.cpp
|
| @@ -44,10 +44,10 @@ void PictureBenchmark::setTimersToShow(bool wall,
|
| Timer* PictureBenchmark::setupTimer(bool useGLTimer) {
|
| #if SK_SUPPORT_GPU
|
| if (useGLTimer && fRenderer != NULL && fRenderer->isUsingGpuDevice()) {
|
| - return SkNEW_ARGS(Timer, (fRenderer->getGLContext()));
|
| + return new Timer(fRenderer->getGLContext());
|
| }
|
| #endif
|
| - return SkNEW_ARGS(Timer, (NULL));
|
| + return new Timer(NULL);
|
| }
|
|
|
| PictureRenderer* PictureBenchmark::setRenderer(sk_tools::PictureRenderer* renderer) {
|
|
|