Commit e2b9ed05 authored by Madeleine Barowsky's avatar Madeleine Barowsky Committed by Commit Bot

Refactor dimensions of normal images into GpuImageDecodeCacheTest helper

This fixes a subtle bug in GetDecodedImageForDrawMipUsageChange where
the test image was created with a dimension larger than
|max_texture_size_| and never went through the GPU upload path.

R=ericrk@chromium.org

Change-Id: I4c9bbdfa6f8c25bbc75deb34cd37d427fd869a9c
Reviewed-on: https://chromium-review.googlesource.com/c/1450231
Commit-Queue: Madeleine Barowsky <mbarowsky@chromium.org>
Auto-Submit: Madeleine Barowsky <mbarowsky@chromium.org>
Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628482}
parent 678b9004
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment