Pass SkBitmap directly

This commit is contained in:
Cheng Zhao 2016-08-04 13:22:19 +09:00
parent 530fcc8de1
commit 64334fd40b
7 changed files with 16 additions and 34 deletions

View file

@ -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: