DescriptionChange GraphicsContext::createCompatibleBuffer to return something non-null
The former implementation asked the current SkCanvas, in all cases now a
SkPictureRecord, for a new SkSurface. The SkPictureRecord always returned null for
the SkSurface. Now we just return a new bitmap surface regardless.
There are two pieces of code that depend on this: cross-fade and SVG
buffered-rendering (which apparently is going away, see crbug.com/395766).
For some reason the cross fade code worked anyway, maybe due to some
fallback path, but the SVG caching didn't.
Note we don't want any of this rasterization during recording. But for
now it stays.
R=fmalita@chromium.org,reed@google.com
BUG=394765, 394768
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178448
Patch Set 1 #Patch Set 2 : Rename #
Messages
Total messages: 7 (0 generated)
|