Fix histogram timer in BaseRenderingContext2D::drawImage

In our current implementation, the histogram timer in the above function
doesn't account for the time that spends on decoding the source image.
That part of time can be significant for some image sources like SVG.

This CL fixes the timer to include the image source decoding time.

Bug: None
Change-Id: Ic7a09ed1ec5524870d2bb64d4cd01dbfd05a7dac
Reviewed-on: https://chromium-review.googlesource.com/563778
Reviewed-by: Justin Novosad <junov@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486113}
1 file changed