| Index: cc/tiles/gpu_image_decode_cache.cc
|
| diff --git a/cc/tiles/gpu_image_decode_cache.cc b/cc/tiles/gpu_image_decode_cache.cc
|
| index f81630b446024893ee59b36ba07597f7e50046fe..c72e006799460a1f2bd8207ea133878e1cc7aedc 100644
|
| --- a/cc/tiles/gpu_image_decode_cache.cc
|
| +++ b/cc/tiles/gpu_image_decode_cache.cc
|
| @@ -616,6 +616,10 @@ void GpuImageDecodeCache::ClearCache() {
|
| }
|
| }
|
|
|
| +size_t GpuImageDecodeCache::GetMaximumMemoryLimit() const {
|
| + return normal_max_cache_bytes_;
|
| +}
|
| +
|
| bool GpuImageDecodeCache::OnMemoryDump(
|
| const base::trace_event::MemoryDumpArgs& args,
|
| base::trace_event::ProcessMemoryDump* pmd) {
|
| @@ -1102,7 +1106,7 @@ void GpuImageDecodeCache::DecodeImageIfNecessary(const DrawImage& draw_image,
|
| // scale.
|
| SkPixmap image_pixmap(image_info.makeColorSpace(nullptr),
|
| backing_memory->data(), image_info.minRowBytes());
|
| - // Note that scalePixels falls back to readPixels if the sale is 1x, so
|
| + // Note that scalePixels falls back to readPixels if the scale is 1x, so
|
| // no need to special case that as an optimization.
|
| if (!draw_image.image()->scalePixels(
|
| image_pixmap, CalculateUploadScaleFilterQuality(draw_image),
|
|
|