Delete SkAutoTime from jpeg encoder

We use nanobench instead to measure encode performance.

BUG=skia:

Change-Id: I4f0b43b7e09f99967889e941cb6947433033006a
Reviewed-on: https://skia-review.googlesource.com/7640
Commit-Queue: Matt Sarett <msarett@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
diff --git a/src/images/SkJPEGImageEncoder.cpp b/src/images/SkJPEGImageEncoder.cpp
index b1f943b..345f869 100644
--- a/src/images/SkJPEGImageEncoder.cpp
+++ b/src/images/SkJPEGImageEncoder.cpp
@@ -9,15 +9,10 @@
 
 #ifdef SK_HAS_JPEG_LIBRARY
 
-#include "SkCanvas.h"
 #include "SkColorPriv.h"
-#include "SkDither.h"
 #include "SkJPEGWriteUtility.h"
-#include "SkRect.h"
 #include "SkStream.h"
 #include "SkTemplates.h"
-#include "SkTime.h"
-#include "SkUtils.h"
 
 #include <stdio.h>
 
@@ -26,9 +21,6 @@
     #include "jerror.h"
 }
 
-// These enable timing code that report milliseconds for an encoding
-//#define TIME_ENCODE
-
 typedef void (*WriteScanline)(uint8_t* SK_RESTRICT dst,
                               const void* SK_RESTRICT src, int width,
                               const SkPMColor* SK_RESTRICT ctable);
@@ -101,10 +93,6 @@
 }
 
 bool SkEncodeImageAsJPEG(SkWStream* stream, const SkPixmap& pixmap, int quality) {
-#ifdef TIME_ENCODE
-    SkAutoTime atm("JPEG Encode");
-#endif
-
     if (!pixmap.addr()) {
         return false;
     }