DescriptionHandle NinePatchLayer Resource Rebuilding.
When we minimize the application our PrioritizedResourceManager dies. This clears the
PrioritizedTexture state and decouples the texture from the manager. When we bring our
application back to the foreground a new PrioritizedResourceManager is created, but we
still hold onto our old PrioritizedResource. Trying to reupload a bitmap on this
resource fails due to a variety of DCHECK/CHECKs at this point. Now if the
PrioritizedResource has no PrioritizedResourceManager we rebuild the resource.
BUG=http://crbug.com/161278
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168122
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|