DescriptionMore and more places are using ImageSkiaSource.
Added ImageSkia::GetRepresentations() which attempts to get image representations for all of the supported scale factors.
Fixed mac code to use GetRepresentations instead of image_reps() as it is only a matter of time till we use enough ImageSkiaSources that we break hidpi mac code.
Bug=None
Test=
ImageSkiaTest.GetRepresentationMultipleRepsPerScaleFactor
passes
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147615
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Fixed comment #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : Fixed comment #Patch Set 8 : #Patch Set 9 : #
Total comments: 1
Patch Set 10 : #Patch Set 11 : #
Total comments: 3
Patch Set 12 : #Patch Set 13 : #
Messages
Total messages: 13 (0 generated)
|