Descriptionui: Remove SkCanvas methods from drag utils.
This changes MenuController to make a gfx::Canvas backed by a bitmap
without needing to malloc() the gfx::Canvas, then makes a
gfx::ImageSkia to give to the drag utils, avoiding the need for
canvas-specific methods.
Because MenuController makes a bitmap-backed gfx::Canvas it knows that
it can call GetBitmap() to pull the bitmap out, and we remove a call
to gfx::Canvas::ExtractImageRep().
R=pkasting@chromium.org,sadrul@chromium.org
BUG=671433
Review-Url: https://codereview.chromium.org/2793133002
Cr-Commit-Position: refs/heads/master@{#461732}
Committed: https://chromium.googlesource.com/chromium/src/+/c374eccb2b3eaafa9a0cd601e66add1556ed99a8
Patch Set 1 #
Total comments: 4
Patch Set 2 : dragutils: . #
Messages
Total messages: 16 (9 generated)
|