DescriptionImprove ergonomics of CanvasImageSource -> gfx::ImageSkia.
So we don't have to write things like:
auto source = new MySource;
... = gfx::ImageSkia(source, source->size());
instead, we write
... = CanvasImageSource::MakeImageSkia<MySource>();
BUG=none
Committed: https://crrev.com/96307adee9e24f088e57a5a12485e6caafdb8afb
Cr-Commit-Position: refs/heads/master@{#421538}
Patch Set 1 #
Total comments: 6
Patch Set 2 : review comments #
Messages
Total messages: 17 (9 generated)
|