Pass SkBitmap directly
This commit is contained in:
parent
530fcc8de1
commit
64334fd40b
7 changed files with 16 additions and 34 deletions
|
@ -12,8 +12,7 @@
|
|||
|
||||
namespace atom {
|
||||
|
||||
typedef base::Callback<void(const gfx::Rect&, const gfx::Size&,
|
||||
const int, void*)> OnPaintCallback;
|
||||
typedef base::Callback<void(const gfx::Rect&, const SkBitmap&)> OnPaintCallback;
|
||||
|
||||
class OffScreenOutputDevice : public cc::SoftwareOutputDevice {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue